pub type DecapsulationKey512 = DecapsulationKey;Expand description
An ML-KEM-512 DecapsulationKey which provides the ability to generate a new key pair, and
decapsulate an encapsulated shared key.
Aliased Type§
pub struct DecapsulationKey512 {
dk_pke: MaybeBox<DecryptionKey<MlKem512>>,
ek: EncapsulationKey<MlKem512>,
d: Option<MaybeBox<Array<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>>,
z: MaybeBox<Array<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>,
}Fields§
§dk_pke: MaybeBox<DecryptionKey<MlKem512>>Decryption key.
ek: EncapsulationKey<MlKem512>Associated encapsulation key.
d: Option<MaybeBox<Array<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>>Seed this key was initialized from.
z: MaybeBox<Array<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>Random string used during the implicit rejection process.