pub struct KeyMaterialInfo<'ci, OS: Clone> {
pub ikm: OS,
pub info: [&'ci [u8]; 2],
}Expand description
The information required to generate the key material for
ServerRegistration::start_with_key_material() and
ServerLogin::builder_with_key_material().
Use a HKDF, with the input key material ikm, expand operation
with info with an output length
of CS::OprfCs::ScalarLen.
Fields§
§ikm: OSInput key material for the HKDF.
info: [&'ci [u8]; 2]Info for the HKDF expand operation.
Auto Trait Implementations§
impl<'ci, OS> Freeze for KeyMaterialInfo<'ci, OS>where
OS: Freeze,
impl<'ci, OS> RefUnwindSafe for KeyMaterialInfo<'ci, OS>where
OS: RefUnwindSafe,
impl<'ci, OS> Send for KeyMaterialInfo<'ci, OS>where
OS: Send,
impl<'ci, OS> Sync for KeyMaterialInfo<'ci, OS>where
OS: Sync,
impl<'ci, OS> Unpin for KeyMaterialInfo<'ci, OS>where
OS: Unpin,
impl<'ci, OS> UnsafeUnpin for KeyMaterialInfo<'ci, OS>where
OS: UnsafeUnpin,
impl<'ci, OS> UnwindSafe for KeyMaterialInfo<'ci, OS>where
OS: UnwindSafe,
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