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

◆ cracen_sw_aes_cbc_update()

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 <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aes_cbc.h>

Update the software AES-CBC operation with new data.

Parameters
[in,out]operationPointer to the cipher operation structure.
[in]inputInput data.
[in]input_lengthLength of the input data.
[out]outputOutput buffer.
[in]output_sizeSize of the output buffer.
[out]output_lengthPointer to store the actual output length.
Return values
PSA_SUCCESSon success.
PSA_ERROR_INVALID_ARGUMENTif any parameter is invalid.
PSA_ERROR_BUFFER_TOO_SMALLif output buffer is too small.