[][src]Module static_dh_ecdh::ecdh::ecdh

A module for an ECDH implementation

Structs

ECDHNISTP256

A struct that represents the ECDH implementation for the p-256 curve

ECDHNISTP384

A struct that represents the ECDH implementation for the p-256 curve

PkP256

An ECDH-P256 public key. This is derived from the private key using scalar point multiplication.

PkP384

An ECDH-P384 public key. This is derived from the private key using scalar point multiplication.

SharedSecretP256

A struct to hold the computed p-256 shared secret

SharedSecretP384

A struct to hold the computed p-384 shared secret

SkP256

An ECDH-P256 private key is simply a scalar in the NIST P-256 field.

SkP384

An ECDH-P384 private key is simply a scalar in the NIST P-384 field.

Traits

FromBytes

Implemented by types that can be deserialized from byte representation

KeyExchange

A trait to describe the types, methods and functions of a key-exhange for a curve

ToBytes

Implemented by types that have a fixed-length byte representation