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

◆ ocrypto_cshake128_ext()

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

cSHAKE128 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_cshake128_init, ocrypto_cshake128_update, and ocrypto_cshake128_final is required before this function can be called.