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

◆ ocrypto_aes_gcm_final_enc()

void ocrypto_aes_gcm_final_enc ( ocrypto_aes_gcm_ctx *  ctx,
uint8_t *  tag,
size_t  tag_len 
)

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

AES-GCM 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_lenAuthentication tag length, 0 < tag_len <= 16.