![]() |
nrfxlib API 3.3.99
|
| void ocrypto_hmac_sha1_final | ( | ocrypto_hmac_sha1_ctx * | ctx, |
| uint8_t | r[(20)] ) |
#include <crypto/nrf_oberon/include/ocrypto_hmac_sha1.h>
HMAC-SHA1 output.
The generator state ctx is updated to finalize the HMAC for the previously processed message chunks. The authenticator is put into r.
| ctx | Generator state. | |
| [out] | r | Generated HMAC value. |
ctx through ocrypto_hmac_sha1_init is required before this function can be called.ctx must no longer be used with ocrypto_hmac_sha1_update and ocrypto_hmac_sha1_final unless it is reinitialized using ocrypto_hmac_sha1_init.