11.12.3.4.188. Function sss_derive_key_dh

11.12.3.4.188.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