11.12.3.4.185. Function sss_cipher_update¶
Defined in File fsl_sss_api.h
11.12.3.4.185.1. Function Documentation¶
-
sss_status_t
sss_cipher_update
(sss_symmetric_t *context, const uint8_t *srcData, size_t srcLen, uint8_t *destData, size_t *destLen)¶ Symmetric cipher update. 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 cipher operation is finalized with a call to sss_cipher_finish().
- Return
Status of the operation
- Parameters
context
: Pointer to symmetric 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.