![]() |
nRF Connect SDK API 3.4.99
|
| psa_status_t cracen_sw_aes_ccm_update | ( | cracen_aead_operation_t * | operation, |
| const uint8_t * | input, | ||
| size_t | input_length, | ||
| uint8_t * | output, | ||
| size_t | output_size, | ||
| size_t * | output_length ) |
#include <cracen_sw_aes_ccm.h>
Update the software AES-CCM operation with new data.
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [in] | input | Input data (plaintext for encryption, ciphertext for decryption). |
| [in] | input_length | Length of the input data. |
| [out] | output | Output buffer (ciphertext for encryption, plaintext for decryption). |
| [in] | output_size | Size of the output buffer. |
| [out] | output_length | Pointer where to store the actual output length. |
| PSA_SUCCESS | Data processed successfully. |
| PSA_ERROR_BUFFER_TOO_SMALL | Output buffer too small. |