nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ cc3xx_aead_update()

psa_status_t cc3xx_aead_update ( cc3xx_aead_operation_t * operation,
const uint8_t * input,
size_t input_length,
uint8_t * output,
size_t output_size,
size_t * output_length )

Encrypt or decrypt a message fragment in an active AEAD operation.

Parameters
[in]operationActive AEAD operation.
[in]inputBuffer containing the message fragment.
[in]input_lengthSize of the input buffer in bytes.
[out]outputBuffer where the output is to be written.
[in]output_sizeSize of the output buffer in bytes.
[out]output_lengthThe number of bytes that make up the output.
Return values
PSA_SUCCESS
PSA_ERROR_INVALID_ARGUMENT
PSA_ERROR_CORRUPTION_DETECTED
PSA_ERROR_NOT_SUPPORTED
PSA_ERROR_DATA_INVALID