nrfxlib API 2.8.99
|
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
.
n_len
or s_len
must be > 0. For empty n
and s
use shake128
.[out] | r | Generated hash. |
r_len | Length of r . | |
in | Input data. | |
in_len | Length of in . | |
n | Function name bit string. | |
n_len | Length of n . | |
s | Customization bit string. | |
s_len | Length of s . |