Home | History | Annotate | Download | only in libtomcrypt

Lines Matching refs:AAD

1579 authentication data (AAD) for security.  The AAD is meant to be used as side--channel data you want to be authenticated with the packet.  Note:  once
1580 you begin adding AAD to the GCM state you cannot return to adding IV data until the state has been reset.
1591 After the AAD has been processed, the plaintext (or ciphertext depending on the direction) can be processed.
1644 This will initialize the GCM state with the given key, IV and AAD value then proceed to encrypt or decrypt the message text and store the final
1658 const unsigned char *aad, unsigned long aadlen,
1675 /* Add the AAD (note: aad can be NULL if aadlen == 0) */
1676 if ((err = gcm_add_aad(gcm, aad, aadlen)) != CRYPT_OK) {
1698 /* send the aad */
1699 send(socket, aad, aadlen, 0);