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

◆ ocrypto_kmac128()

void ocrypto_kmac128 ( 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 )

KMAC128 Message Authentication Code function.

The KMAC128 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.