Function nrfxlib_sys::ocrypto_chacha20_poly1305_final_enc
source · pub unsafe extern "C" fn ocrypto_chacha20_poly1305_final_enc(
ctx: *mut ocrypto_chacha20_poly1305_ctx,
tag: *mut u8
)
Expand description
ChaCha20-Poly1305 final encoder step.
The generator state * ctx
- is used to finalize the encryption and generate the tag.
ctx
- Generator state.tag
- Generated authentication tag.