11.12.3.4.237. Function sss_se05x_aead_update¶
Defined in File fsl_sss_se05x_apis.h
11.12.3.4.237.1. Function Documentation¶
-
sss_status_t
sss_se05x_aead_update
(sss_se05x_aead_t *context, const uint8_t *srcData, size_t srcLen, uint8_t *destData, size_t *destLen)¶ AEAD data update. Feeds a new chunk of the data payload. Input data does not have to be a multiple of block size. Subsequent calls to this function are possible. Unless one or more calls of this function have supplied sufficient input data, no output is generated. The integration check is done by sss_aead_finish(). Until then it is not sure if the decrypt data is authentic.
- Return
Status of the operation
- Parameters
context
: Pointer to aead crypto context.srcData
: Buffer containing the input data.srcLen
: Length of the input data in bytes.destData
: Buffer containing the output data.[inout] destLen
: Length of the output data in bytes. Buffer length on entry, reflects actual output size on return.
- Return Value
kStatus_SSS_Success
: The operation has completed successfully.kStatus_SSS_Fail
: The operation has failed.kStatus_SSS_InvalidArgument
: One of the arguments is invalid for the function to execute.