nn::crypto::CalculateHmacSha256 Function
void CalculateHmacSha256(
void * pOut,
const void * pData,
size_t size,
const void * pKeyData,
size_t keySize
);
| Name | Description | |
|---|---|---|
| out | pOut | Pointer to the location in which to store the HMAC value (4-byte alignment) |
| in | pData | Pointer to the input data. |
| in | size | Length of the input data. |
| in | pKeyData | Pointer to the key data. |
| in | keySize | Length of the key data. |
Performs HMAC-SHA256 calculation.
pOut is a 4-byte aligned pointer. It requires Sha256Context::HASH_SIZE (=32) bytes of space as the destination for storing the indicated hash.
CONFIDENTIAL