#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_chacha20_poly1305.h>
Set up the software ChaCha20-Poly1305 decryption operation.
- Parameters
-
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [in] | attributes | Key attributes. |
| [in] | key_buffer | Key material. |
| [in] | key_buffer_size | Size of the key material. Max CRACEN_MAX_AEAD_KEY_SIZE bytes. |
| [in] | alg | Algorithm to use. |
- Return values
-
| PSA_SUCCESS | Operation setup successfully. |
| PSA_ERROR_NOT_SUPPORTED | Unsupported algorithm or key type. |
| PSA_ERROR_INVALID_ARGUMENT | Invalid key size. |