nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ cracen_sw_aes_ctr_set_iv()

psa_status_t cracen_sw_aes_ctr_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_ctr.h>

Set IV (Counter) for the software AES-CTR operation.

Parameters
operationPointer to the cipher operation structure.
ivIV (Counter) value (16 bytes).
iv_lengthLength of IV (must be 16).
Return values
psa_status_tPSA_SUCCESS on success, error code otherwise