nrfxlib API 2.8.99
|
void ocrypto_kmac256 | ( | uint8_t * | r, |
size_t | r_len, | ||
const uint8_t * | key, | ||
size_t | key_len, | ||
const uint8_t * | in, | ||
size_t | in_len, | ||
const uint8_t * | s, | ||
size_t | s_len ) |
KMAC256 Message Authentication Code function.
The KMAC256 output of a given input message in
and key key
is computed and put into r
.
[out] | r | Generated mac. |
r_len | Length of r . | |
key | Key. | |
key_len | Length of key . | |
in | Input data. | |
in_len | Length of in . | |
s | Customization bit string. | |
s_len | Length of s . |