nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ ocrypto_ascon_aead128_final_dec()

int ocrypto_ascon_aead128_final_dec ( ocrypto_ascon_aead_ctx * ctx,
const uint8_t tag[16] )

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

Ascon-AEAD128 final decoder step.

The generator state ctx is used to finalize the decryption and check the tag.

Parameters
ctxGenerator state.
tagReceived authentication tag.
Return values
0If tag is valid.
-1Otherwise.