9.13.3.4.165. Function sss_se05x_asymmetric_encrypt¶
Defined in File fsl_sss_se05x_apis.h
9.13.3.4.165.1. Function Documentation¶
-
sss_status_t
sss_se05x_asymmetric_encrypt(sss_se05x_asymmetric_t *context, const uint8_t *srcData, size_t srcLen, uint8_t *destData, size_t *destLen)¶ Asymmetric encryption The function uses asymmetric algorithm to encrypt data. Public key portion of a key pair is used for encryption.
- 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.
