Name

crypto_akcipher_maxsize — Get len for output buffer

Synopsis

int crypto_akcipher_maxsize (struct crypto_akcipher * tfm);
 

Arguments

tfm

AKCIPHER tfm handle allocated with crypto_alloc_akcipher

Description

Function returns the dest buffer size required for a given key

Return

minimum len for output buffer or error code in key hasn't been set