nrfxlib API 2.8.99
|
void ocrypto_aes_ccm_update_aad | ( | ocrypto_aes_ccm_ctx * | ctx, |
const uint8_t * | aa, | ||
size_t | aa_len ) |
#include <crypto/nrf_oberon/include/ocrypto_aes_ccm.h>
AES-CCM 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.
ctx | Generator state. |
aa | Additional authenticated data. |
aa_len | Length of a . |
ctx
through ocrypto_aes_ccm_init
is required before this function can be called. ocrypto_aes_ccm_update_aad
must be called before any call to ocrypto_aes_ccm_update_enc
or ocrypto_aes_ccm_update_dec
.