#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aes_ctr.h>
Perform a single-shot software AES-CTR encryption or decryption.
- Parameters
-
| attributes | Key attributes. |
| key_buffer | Key material. |
| key_buffer_size | Size of the key material. |
| iv | IV (Counter) value (16 bytes). |
| iv_length | Length of IV (must be 16). |
| input | Input data to encrypt or decrypt. |
| input_length | Length of input data. |
| output | Output buffer. |
| output_size | Size of output buffer. |
| output_length | Pointer to store the actual output length. |
- Return values
-
| psa_status_t | PSA_SUCCESS on success, error code otherwise. |