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

◆ ocrypto_cshake128()

void ocrypto_cshake128 ( uint8_t * r,
size_t r_len,
const uint8_t * in,
size_t in_len,
const uint8_t * n,
size_t n_len,
const uint8_t * s,
size_t s_len )

cSHAKE128 extendable-output function.

The cSHAKE128 hash of a given input message in is computed and put into r.

Remarks
n_len or s_len must be > 0. For empty n and s use shake128.
Parameters
[out]rGenerated hash.
r_lenLength of r.
inInput data.
in_lenLength of in.
nFunction name bit string.
n_lenLength of n.
sCustomization bit string.
s_lenLength of s.