Finalize an HMAC computation and write the MAC.
Declared in <openssl/hmac.h>
[[deprecated]]
int
HMAC_Final(
HMAC_CTX* ctx,
unsigned char* md,
unsigned int* len);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on error.
| Name | Description |
|---|---|
| ctx | HMAC context to finalize. |
| md | Output buffer for the MAC. |
| len | Receives the MAC length in bytes; may be NULL. |