Scroll to navigation

CRYPTO_AKCIPHER_MAXS(9) Programming Interface CRYPTO_AKCIPHER_MAXS(9)

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

AUTHORS

Stephan Mueller <smueller@chronox.de>
Author.
Marek Vasut <marek@denx.de>
Author.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.