#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_chacha20_poly1305.h>
Update the software ChaCha20-Poly1305 operation with new data.
- Parameters
-
| [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. |
- Return values
-
| PSA_SUCCESS | Data processed successfully. |
| PSA_ERROR_BUFFER_TOO_SMALL | Output buffer too small. |