![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_sw_chacha20_poly1305_update_ad | ( | cracen_aead_operation_t * | operation, |
| const uint8_t * | input, | ||
| size_t | input_length ) |
#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_chacha20_poly1305.h>
Update the software ChaCha20-Poly1305 operation with additional data.
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [in] | input | Additional data. |
| [in] | input_length | Length of the additional data. |
| PSA_SUCCESS | Additional data processed successfully. |
| PSA_ERROR_BAD_STATE | AD already finalized or operation not initialized. |