![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_aead_update_ad | ( | cracen_aead_operation_t * | operation, |
| const uint8_t * | input, | ||
| size_t | input_length ) |
#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_aead.h>
Add Additional Authenticated Data (AAD) to an AEAD operation.
| [in,out] | operation | AEAD operation context. |
| [in] | input | Additional Authenticated Data (AAD). |
| [in] | input_length | Length of the Additional Authenticated Data (AAD) in bytes. |
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_BAD_STATE | The operation is not in a valid state. |