nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_aes_ccm_final_enc()

void ocrypto_aes_ccm_final_enc ( ocrypto_aes_ccm_ctx *  ctx,
uint8_t *  tag,
size_t  tag_len 
)

#include <crypto/nrf_oberon/include/ocrypto_aes_ccm.h>

AES-CCM final encoder step.

The generator state ctx is used to finalize the encryption and generate the tag.

Parameters
ctxGenerator state.
[out]tagGenerated authentication tag.
tag_lenLength of tag.