Trait ml_dsa::param::KemParams

source ·
pub trait KemParams: PkeParams {
    type DecapsulationKeySize: ArraySize;

    // Required methods
    fn concat_dk(
        dk: EncodedDecryptionKey<Self>,
        ek: EncodedEncryptionKey<Self>,
        h: B32,
        z: B32,
    ) -> EncodedDecapsulationKey<Self>;
    fn split_dk(
        enc: &EncodedDecapsulationKey<Self>,
    ) -> (&EncodedDecryptionKey<Self>, &EncodedEncryptionKey<Self>, &B32, &B32);
}
Expand description

Derived parameters relevant to ML-KEM

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§