9.13.3.4.100. Function sss_asymmetric_decrypt¶
Defined in File fsl_sss_api.h
9.13.3.4.100.1. Function Documentation¶
-
sss_status_t
sss_asymmetric_decrypt(sss_asymmetric_t *context, const uint8_t *srcData, size_t srcLen, uint8_t *destData, size_t *destLen)¶ Asymmetric decryption The function uses asymmetric algorithm to decrypt data. Private key portion of a key pair is used for decryption.
- Return
Status of the operation
- Parameters
context: Pointer to asymmetric context.srcData: Input buffersrcLen: Length of the input in bytesdestData: Output bufferdestLen: Length of the output in bytes
- 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.
