pub trait Spake2PlusCiphersuite: Sized + 'static {
type Group: CpaceGroup;
type Hash: Hash;
type Kdf: Kdf;
type Mac: Mac;
const NH: usize;
const M_BYTES: &'static [u8];
const N_BYTES: &'static [u8];
}Expand description
Defines a SPAKE2+ ciphersuite: group, hash, KDF, MAC, and protocol constants.
Required Associated Constants§
Required Associated Types§
Sourcetype Group: CpaceGroup
type Group: CpaceGroup
The prime-order group used for the protocol.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.