Write the computed GCM authentication tag into tag.
Synopsis
Declared in <openssl/modes.h>
void
CRYPTO_gcm128_tag(
GCM128_CONTEXT* ctx,
unsigned char* tag,
size_t len);
Parameters
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). |
Created with MrDocs