pub unsafe extern "C" fn ocrypto_aes_ccm_final_enc(
    ctx: *mut ocrypto_aes_ccm_ctx,
    tag: *mut u8,
    tag_len: usize
)
Expand description

AES-CCM 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 - Length of * tag - .