The Diffie-Hellman (DH) key agreement algorithm allows two parties to share a common secret value. The ECDH functions are defined in huidlc.h.
An IDLC parameters object is required to perform IDLC DH key agreement. An RNG context is required if key generation will be performed.