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

◆ ocrypto_ascon_hash256_final()

void ocrypto_ascon_hash256_final ( ocrypto_ascon_hash_ctx * ctx,
uint8_t h[(32)] )

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

Ascon-Hash output.

The generator state ctx is updated to finalize the hash for the previously processed message chunks. The hash is put into fixed size h.

Parameters
ctxGenerator state.
[out]hGenerated hash value.
Remarks
Initialization of the generator state ctx through ocrypto_ascon_hash256_init is required before this function can be called.
After return, the generator state ctx must no longer be used with ocrypto_ascon_hash256_update and ocrypto_ascon_hash256_final unless it is reinitialized using ocrypto_ascon_hash256_init.