nrfxlib API 2.8.99
|
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.
ctx | Generator state. | |
[out] | tag | Generated authentication tag. |
tag_len | Authentication tag length, 0 < tag_len <= 16. |