DiffieHellman

Ephemeral-ephemeral ECDH on curve. G_X and G_Y are the x-coordinates of the public keys in the compact representation of RFC 9528 Appendix B, so both have the curve's coordinate length.

Constructors

Link copied to clipboard
constructor(curve: EcdhCurve)

Properties

Link copied to clipboard
Link copied to clipboard
open override val ephemeralKeyType: KeyType

The type of the ephemeral key pair the Initiator generates for G_X.

Link copied to clipboard
open override val initiatorShareLength: Int

Length of G_X in message_1, in bytes.

Link copied to clipboard
open override val responderShareLength: Int

Length of G_Y at the start of G_Y_CIPHERTEXT_2 in message_2, in bytes.

Link copied to clipboard

Whether the algorithm is a Diffie-Hellman function that static-DH authentication (methods 1–3) can use: the "Supports DH/NIKE" column that draft-ietf-lake-pqsuites §6.4 adds to the registry.

Functions

Link copied to clipboard
open override fun toString(): String