#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aead.h>
Update the software AEAD operation with plaintext/ciphertext.
- Parameters
-
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [in] | input | Input data (plaintext for encrypt, ciphertext for decrypt). |
| [in] | input_length | Length of input data. |
| [out] | output | Output buffer. |
| [in] | output_size | Size of output buffer. |
| [out] | output_length | Pointer to store actual output length. |
- Return values
-
| PSA_SUCCESS | Data processed successfully. |
| PSA_ERROR_NOT_SUPPORTED | Unsupported algorithm. |
| PSA_ERROR_BUFFER_TOO_SMALL | Output buffer too small. |
| PSA_ERROR_BAD_STATE | Operation not initialized. |