nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_kmac256()

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.

Parameters
[out]rGenerated mac.
r_lenLength of r.
keyKey.
key_lenLength of key.
inInput data.
in_lenLength of in.
sCustomization bit string.
s_lenLength of s.