nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ ocrypto_sha3_512_final()

void ocrypto_sha3_512_final ( ocrypto_sha3_ctx *  ctx,
uint8_t  r[(64)] 
)

SHA-3-512 output.

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

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