9.13.3.4.111. Function sss_derive_key_dh¶
Defined in File fsl_sss_api.h
9.13.3.4.111.1. Function Documentation¶
-
sss_status_t
sss_derive_key_dh(sss_derive_key_t *context, sss_object_t *otherPartyKeyObject, sss_object_t *derivedKeyObject)¶ Asymmetric key derivation Diffie-Helmann The function cryptographically derives a key from another key. For example Diffie-Helmann.
- Return
Status of the operation
- Parameters
context: Pointer to derive key context.otherPartyKeyObject: Public key of the other party in the Diffie-Helmann algorithm[inout] derivedKeyObject: Reference to a derived key
- 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.
