Write the computed OCB authentication tag into tag.
Declared in <openssl/modes.h>
int
CRYPTO_ocb128_tag(
OCB128_CONTEXT* ctx,
unsigned char* tag,
size_t len);
1 on success, or -1 if len is invalid.
| Name | Description |
|---|---|
| ctx | OCB context after encryption (and optional AAD) processing. |
| tag | Destination buffer for the tag. |
| len | Number of tag bytes to write (1–16). |