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

◆ ocrypto_ascon_aead128_update_aad()

void ocrypto_ascon_aead128_update_aad ( ocrypto_ascon_aead_ctx * ctx,
const uint8_t * aa,
size_t aa_len )

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

Ascon-AEAD128 incremental aad input.

The generator state ctx is updated to include a data chunk aa.

This function can be called repeatedly until the whole data is processed.

Parameters
ctxGenerator state.
aaAdditional authenticated data.
aa_lenLength of aa.
Remarks
Initialization of the context ctx through ocrypto_ascon_aead128_init is required before this function can be called.
ocrypto_ascon_aead128_update_aad must be called before any call to ocrypto_ascon_aead128_update_enc or ocrypto_ascon_aead128_update_dec.