![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_sw_aes_gcm_set_lengths | ( | cracen_aead_operation_t * | operation, |
| size_t | ad_length, | ||
| size_t | plaintext_length ) |
#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aes_gcm.h>
Set lengths for the software AES-GCM operation.
CCM requires the lengths of additional data and plaintext to be known up-front.
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [in] | ad_length | Length of additional data. |
| [in] | plaintext_length | Length of plaintext. |
| PSA_SUCCESS | Lengths set successfully. |