Updated: October 28, 2024 |
Provide cipher additional authenticated data (AAD)
#include <qcrypto/qcrypto.h>
int qcrypto_cipher_aad(qcrypto_ctx_t *ctx, const uint8_t *aad, size_t aadsize)
This function is used in AEAD encryption modes such as AES GCM to provide an encryption operation with AAD.
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.