![]() |
nrfxlib API 3.3.99
|
| void ocrypto_ascon_xof128_final | ( | ocrypto_ascon_hash_ctx * | ctx, |
| uint8_t * | h, | ||
| size_t | h_len ) |
#include <crypto/nrf_oberon/include/ocrypto_ascon_hash.h>
Ascon-XOF128 output.
The generator state ctx is updated to finalize the hash for the previously processed message chunks. The output is put into h.
| ctx | Generator state. | |
| [out] | h | Generated output. |
| h_len | Length of h. May be 0. |
ctx through ocrypto_ascon_xof128_init is required before this function can be called.ctx must no longer be used with ocrypto_ascon_hash256_update and ocrypto_ascon_xof128_final but can still be used with ocrypto_ascon_xof128_ext to generate more output.