![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_cipher_set_iv | ( | cracen_cipher_operation_t * | operation, |
| const uint8_t * | iv, | ||
| size_t | iv_length ) |
#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_cipher.h>
Set the initialization vector for a cipher operation.
| [in,out] | operation | Cipher operation context. |
| [in] | iv | Initialization vector. |
| [in] | iv_length | Length of the IV in bytes. |
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_BAD_STATE | The operation is not in a valid state. |