![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_sw_aes_cbc_set_iv | ( | cracen_cipher_operation_t * | operation, |
| const uint8_t * | iv, | ||
| size_t | iv_length ) |
#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aes_cbc.h>
Set IV for the software AES-CBC operation.
| [in,out] | operation | Pointer to the cipher operation structure. |
| [in] | iv | IV value (16 bytes). |
| [in] | iv_length | Length of IV (must be 16). |
| PSA_SUCCESS | on success. |
| PSA_ERROR_INVALID_ARGUMENT | if iv_length is not 16. |