Function nrfxlib_sys::ocrypto_sha1_update
source · pub unsafe extern "C" fn ocrypto_sha1_update(
ctx: *mut ocrypto_sha1_ctx,
in_: *const u8,
in_len: usize
)
Expand description
SHA-1 incremental data input.
The generator state * ctx
- is updated to hash a message chunk * in
- .
This function can be called repeatedly until the whole message is processed.
ctx
- Generator state.in
- Input data.in_len
- Length of *in
- .
@remark Initialization of the generator state * ctx
- through
* ocrypto_sha1_init
- is required before this function can be called.