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§
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)
Object Safety§
This trait is not object safe.