nrfxlib API 2.8.99
|
void ocrypto_cshake256 | ( | 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 ) |
cSHAKE256 extendable-output function.
The cSHAKE256 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 shake256
.[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 . |