#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_cipher.h>
Process input data in a cipher operation.
- Parameters
-
| [in,out] | operation | Cipher operation context. |
| [in] | input | Input data to process. |
| [in] | input_length | Length of the input data in bytes. |
| [out] | output | Buffer to store the output. |
| [in] | output_size | Size of the output buffer in bytes. |
| [out] | output_length | Length of the generated output in bytes. |
- Return values
-
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_BAD_STATE | The operation is not in a valid state. |
| PSA_ERROR_BUFFER_TOO_SMALL | The output buffer is too small. |