![]() |
nrfxlib API 3.3.99
|
| void ocrypto_shake256_final | ( | ocrypto_shake_ctx * | ctx, |
| uint8_t * | r, | ||
| size_t | r_len ) |
#include <crypto/nrf_oberon/include/ocrypto_shake.h>
SHAKE256 output.
The generator state ctx is updated to finalize the hash for the previously processed message chunks. The variable length output is put into r.
| ctx | Generator state. | |
| [out] | r | Generated hash value. |
| r_len | Length of r. May be 0. |
ctx through ocrypto_shake_init is required before this function can be called.ctx must no longer be used with ocrypto_shake_256_update and ocrypto_shake256_final but can still be used with ocrypto_shake256_ext to generate more output.