Function nrfxlib_sys::ocrypto_sha224_final
source · pub unsafe extern "C" fn ocrypto_sha224_final(
ctx: *mut ocrypto_sha224_ctx,
r: *mut u8
)
Expand description
SHA-224 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.r
- Generated hash value.
@remark Initialization of the generator state * ctx
- through
* ocrypto_sha224_init
- is required before this function can be called.
@remark After return, the generator state * ctx
- must no longer be used with
* ocrypto_sha224_update
- and * ocrypto_sha224_final
- unless it is
reinitialized using * ocrypto_sha224_init
- .