Write the computed CCM authentication tag into tag.
Synopsis
Declared in <openssl/modes.h>
size_t
CRYPTO_ccm128_tag(
CCM128_CONTEXT* ctx,
unsigned char* tag,
size_t len);
Return Value
Number of tag bytes written (len), or 0 if len does not match M.
Parameters
Name |
Description |
ctx |
CCM context after encryption (and optional AAD) processing. |
tag |
Destination buffer for the tag; |
len |
Number of tag bytes requested (must match the M value from CRYPTO_ccm128_init()). |
Created with MrDocs