[][src]Trait hpke::Kem

pub trait Kem {
    type Kex: KeyExchange;
    type Kdf: KdfTrait;

    const KEM_ID: u16;
}

Defines a combination of key exchange mechanism and a KDF, which together form a KEM

Associated Types

Loading content...

Associated Constants

const KEM_ID: u16

Loading content...

Implementors

impl Kem for DhP256HkdfSha256[src]

type Kex = DhP256

type Kdf = HkdfSha256

impl Kem for X25519HkdfSha256[src]

type Kex = X25519

type Kdf = HkdfSha256

Loading content...