crypto_aead_setauthsize(9)

crypto_aead_setauthsize9

Set authentication data size

Usage

int crypto_aead_setauthsize(struct crypto_aead * tfm, unsigned int authsize);

Arguments

tfm

cipher handle

authsize

size of the authentication data / tag in bytes

Overview

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 occurred

Authors

Stephan Mueller <[email protected]>

Author.

Marek Vasut <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.