Function nrfxlib_sys::ocrypto_aes_gcm_final_enc
source · pub unsafe extern "C" fn ocrypto_aes_gcm_final_enc(
ctx: *mut ocrypto_aes_gcm_ctx,
tag: *mut u8,
tag_len: usize
)
Expand description
AES-GCM final encoder step.
The generator state * ctx
- is used to finalize the encryption and generate the tag.
ctx
- Generator state.tag
- Generated authentication tag.tag_len
- Authentication tag length, 0 < *tag_len
- <= 16.