Finish a CMAC and write the authentication tag (deprecated).
Synopsis
Declared in <openssl/cmac.h>
[[deprecated]]
int
CMAC_Final(
CMAC_CTX* ctx,
unsigned char* out,
size_t* poutlen);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
CMAC context updated with CMAC_Update(). |
out |
Buffer for the MAC (cipher block size), or NULL to query length only. |
poutlen |
On entry, capacity of |
Created with MrDocs