other versions
- stretch 4.9.168-1
CRYPTO_AEAD_SETAUTHS(9) | Programming Interface | CRYPTO_AEAD_SETAUTHS(9) |
NAME¶
crypto_aead_setauthsize - set authentication data sizeSYNOPSIS¶
int crypto_aead_setauthsize(struct crypto_aead * tfm, unsigned int authsize);
ARGUMENTS¶
tfmcipher handle
authsize
size of the authentication data / tag in bytes
DESCRIPTION¶
Set the authentication data size / tag size. AEAD requires an authentication tag (or MAC) in addition to the associated data.RETURN¶
0 if the setting of the key was successful; < 0 if an error occurredAUTHORS¶
Stephan Mueller <smueller@chronox.de>Author.
Marek Vasut <marek@denx.de>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |