Skip to main content

PreparedPublicKey

Type Alias PreparedPublicKey 

Source
pub type PreparedPublicKey = PreparedPublicKey<P384>;
Expand description

A peer’s P-384 public key for EcdhP384, decoded, validated and expanded once: new takes its SEC1 encoding and refuses what EcdhP384’s agree would refuse; agree takes a private key and writes the 48-byte shared secret, doing only the scalar multiplication in about 40 percent of the time of an unprepared agreement. About 6 KiB, not allocated.

Aliased Type§

pub struct PreparedPublicKey { /* private fields */ }