pub struct HpkeSuite {
pub kem: HpkeKem,
pub sym: HpkeSymmetricCipherSuite,
}
Expand description
An HPKE suite, specifying a key encapsulation mechanism and a symmetric cipher suite.
Fields§
§kem: HpkeKem
The choice of HPKE key encapsulation mechanism.
sym: HpkeSymmetricCipherSuite
The choice of HPKE symmetric cipher suite.
This combines a choice of authenticated encryption with additional data (AEAD) algorithm and a key derivation function (KDF).
Trait Implementations§
impl Copy for HpkeSuite
impl Eq for HpkeSuite
impl StructuralPartialEq for HpkeSuite
Auto Trait Implementations§
impl Freeze for HpkeSuite
impl RefUnwindSafe for HpkeSuite
impl Send for HpkeSuite
impl Sync for HpkeSuite
impl Unpin for HpkeSuite
impl UnwindSafe for HpkeSuite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes