![]() |
nRF Connect SDK API 3.4.99
|
| psa_status_t cracen_sw_aes_cbc_update | ( | cracen_cipher_operation_t * | operation, |
| const uint8_t * | input, | ||
| size_t | input_length, | ||
| uint8_t * | output, | ||
| size_t | output_size, | ||
| size_t * | output_length ) |
#include <cracen_sw_aes_cbc.h>
Update the software AES-CBC operation with new data.
| [in,out] | operation | Pointer to the cipher operation structure. |
| [in] | input | Input data. |
| [in] | input_length | Length of the input data. |
| [out] | output | Output buffer. |
| [in] | output_size | Size of the output buffer. |
| [out] | output_length | Pointer to store the actual output length. |
| PSA_SUCCESS | on success. |
| PSA_ERROR_INVALID_ARGUMENT | if any parameter is invalid. |
| PSA_ERROR_BUFFER_TOO_SMALL | if output buffer is too small. |