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

◆ ocrypto_cshake256_ext()

void ocrypto_cshake256_ext ( ocrypto_cshake_ctx *  ctx,
uint8_t *  r,
size_t  r_len 
)

cSHAKE256 extended output.

Generates additional output data of length r_len and updates the generator state ctx accordingly. The output is put into r.

Parameters
ctxGenerator state.
[out]rGenerated output.
r_lenLength of r.
Remarks
Initialization of the generator state ctx through ocrypto_cshake256_init, ocrypto_cshake256_update, and ocrypto_cshake256_final is required before this function can be called.