Trait vru_noise::Config

source ·
pub trait Config {
    type BigEndianness: Bit;
    type Aead: KeyInit + AeadInPlace;
    type MixHash: MixHash;
    type HkdfSplit: HkdfSplitExt<Self::Aead, L = <Self::MixHash as MixHash>::L>;
}

Required Associated Types§

source

type BigEndianness: Bit

source

type Aead: KeyInit + AeadInPlace

source

type MixHash: MixHash

source

type HkdfSplit: HkdfSplitExt<Self::Aead, L = <Self::MixHash as MixHash>::L>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<I, D, E, A> Config for (I, D, E, A)
where I: HmacImpl<D>, (D, I): HkdfSplitExt<A, L = <D as MixHash>::L>, D: OutputSizeUser + MixHash, E: Bit, A: KeyInit + AeadInPlace,

§

type BigEndianness = E

§

type Aead = A

§

type MixHash = D

§

type HkdfSplit = (D, I)

Implementors§