nrfxlib API 2.8.99
|
void ocrypto_kmac128_final | ( | ocrypto_kmac_ctx * | ctx, |
uint8_t * | r, | ||
size_t | r_len ) |
KMAC256 output.
The generator state ctx
is updated to finalize the hash for the previously processed message chunks. The variable length output is put into r
.
ctx | Generator state. | |
[out] | r | Generated mac value. |
r_len | Length of r . |
ctx
through ocrypto_kmac128_init
is required before this function can be called.ctx
must no longer be used with ocrypto_kmac128_update
and ocrypto_kmac128_final
unless it is reinitialized using ocrypto_kmac128_init
.