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

◆ ocrypto_shake256_ext()

void ocrypto_shake256_ext ( ocrypto_shake_ctx *  ctx,
uint8_t *  r,
size_t  r_len 
)

SHAKE256 extended output.

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

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