Function nrfxlib_sys::ocrypto_poly1305_update
source · pub unsafe extern "C" fn ocrypto_poly1305_update(
ctx: *mut ocrypto_poly1305_ctx,
in_: *const u8,
in_len: usize
)
Expand description
Poly1305 generator.
The generator state * ctx
- is updated to authenticate a message chunk * in
- .
This function can be called repeatedly on arbitrarily small chunks of the message until the whole message has been processed.
ctx
- Generator state.in
- Input data.in_len
- Length of *in
- .
@remark Initialization of the generator state * ctx
- through
* ocrypto_poly1305_init
- is required before this function can be called.