11.12.3.4.177. Function sss_asymmetric_sign_digest¶
Defined in File fsl_sss_api.h
11.12.3.4.177.1. Function Documentation¶
-
sss_status_t
sss_asymmetric_sign_digest
(sss_asymmetric_t *context, uint8_t *digest, size_t digestLen, uint8_t *signature, size_t *signatureLen)¶ Asymmetric signature of a message digest The function signs a message digest.
- Return
Status of the operation
- Parameters
context
: Pointer to asymmetric context.digest
: Input buffer containing the input message digestdigestLen
: Length of the digest in bytessignature
: Output buffer written with the signature of the digestsignatureLen
: Length of the signature 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.