nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ ocrypto_kmac128_init()

void ocrypto_kmac128_init ( ocrypto_kmac_ctx *  ctx,
const uint8_t *  key,
size_t  key_len,
const uint8_t *  s,
size_t  s_len 
)

KMAC128 initialization.

The generator state ctx is initialized by this function.

Parameters
[out]ctxGenerator state.
keyKey.
key_lenLength of key.
sCustomization bit string.
s_lenLength of s.