![]() |
nRF Connect SDK API 3.4.99
|
| psa_status_t cracen_sw_aes_cbc_finish | ( | cracen_cipher_operation_t * | operation, |
| uint8_t * | output, | ||
| size_t | output_size, | ||
| size_t * | output_length ) |
#include <cracen_sw_aes_cbc.h>
Finish the software AES-CBC operation.
| [in,out] | operation | Pointer to the cipher operation structure. |
| [out] | output | Output buffer for final block. |
| [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. |
| PSA_ERROR_INVALID_PADDING | if PKCS7 padding is invalid. |