nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ ocrypto_ascon_xof128_ext()

void ocrypto_ascon_xof128_ext ( ocrypto_ascon_hash_ctx * ctx,
uint8_t * h,
size_t h_len )

#include <crypto/nrf_oberon/include/ocrypto_ascon_hash.h>

Ascon-XOF128 extended output.

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

Parameters
ctxGenerator state.
[out]hGenerated output.
h_lenLength of r.
Remarks
Initialization of the generator state ctx through ocrypto_ascon_xof128_init, ocrypto_ascon_hash256_update, and ocrypto_ascon_xof128_final is required before this function can be called.