nrfxlib API 0.1.0
|
void ocrypto_sha512_final | ( | ocrypto_sha512_ctx * | ctx, |
uint8_t | r[(64)] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_sha512.h>
SHA-512 output.
The generator state ctx
is updated to finalize the hash for the previously processed message chunks. The hash is put into r
.
ctx | Generator state. | |
[out] | r | Generated hash value. |
ctx
through ocrypto_sha512_init
is required before this function can be called.ctx
must no longer be used with ocrypto_sha512_update
and ocrypto_sha512_final
unless it is reinitialized using ocrypto_sha512_init
.