nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_kmac256_init()

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

KMAC256 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.