SysTutorials

Linux Manual Pages › Section 9

crypto_akcipher_maxsize(9)

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

Authors

Stephan Mueller <smueller [at] chronox.de>

Author.

Marek Vasut <marek [at] denx.de>

Author.

Copyright