![]() |
nrfxlib API 3.3.99
|
| void ocrypto_hmac_sha512 | ( | uint8_t | r[(64)], |
| const uint8_t * | key, | ||
| size_t | key_len, | ||
| const uint8_t * | in, | ||
| size_t | in_len ) |
#include <crypto/nrf_oberon/include/ocrypto_hmac_sha512.h>
HMAC-SHA512 algorithm.
The input message in is authenticated using the key key. The computed authenticator is put into r. To verify the authenticator, the recipient needs to recompute the HMAC authenticator and can then compare it with the received authenticator.
| [out] | r | HMAC output. |
| key | HMAC key. | |
| key_len | Length of key. | |
| in | Input data. | |
| in_len | Length of in. |