Function nrfxlib_sys::ocrypto_poly1305_pad
source · pub unsafe extern "C" fn ocrypto_poly1305_pad(
ctx: *mut ocrypto_poly1305_ctx
)
Expand description
Poly1305 generator padding.
The generator state * ctx
- is updated to authenticate a zero padding of the last block.
ctx
- Generator state.
@remark Initialization of the generator state * ctx
- through
* ocrypto_poly1305_init
- is required before this function can be called.