[][src]Module hpke::kex

Structs

DhP256

Represents ECDH functionality over NIST curve P-256

X25519

Represents ECDH functionality over the X25519 group

Traits

Deserializable

Implemented by types that can be deserialized from byte representation

KeyExchange

This trait captures the requirements of a key exchange mechanism. It must have a way to generate keypairs, perform the KEX computation, and serialize/deserialize KEX pubkeys. Most of this functionality is hidden, though. Use Kem::derive_keypair or Kem::gen_keypair to make a keypair.

Serializable

Implemented by types that have a fixed-length byte representation