Absorb additional authenticated data into a GCM context before ciphertext.
Declared in <openssl/modes.h>
int
CRYPTO_gcm128_aad(
GCM128_CONTEXT* ctx,
unsigned char const* aad,
size_t len);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | GCM context with IV already set. |
| aad | Additional authenticated data octets. |
| len | Length of aad in bytes. |