Write the computed GCM authentication tag into tag.
Declared in <openssl/modes.h>
void
CRYPTO_gcm128_tag(
GCM128_CONTEXT* ctx,
unsigned char* tag,
size_t len);
| Name | Description |
|---|---|
| ctx | GCM context after encryption (typically after CRYPTO_gcm128_finish with NULL tag). |
| tag | Destination buffer for the tag. |
| len | Number of tag bytes to write (commonly 16). |