pub enum KeyDerivationFunctionScheme {
Kdf1Sp800_56a(HashScheme),
Kdf2(HashScheme),
Kdf1Sp800_108(HashScheme),
Mgf1(HashScheme),
Null,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for KeyDerivationFunctionScheme
impl Clone for KeyDerivationFunctionScheme
source§fn clone(&self) -> KeyDerivationFunctionScheme
fn clone(&self) -> KeyDerivationFunctionScheme
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyDerivationFunctionScheme
impl Debug for KeyDerivationFunctionScheme
source§impl From<KeyDerivationFunctionScheme> for TPMT_KDF_SCHEME
impl From<KeyDerivationFunctionScheme> for TPMT_KDF_SCHEME
source§fn from(key_derivation_function_scheme: KeyDerivationFunctionScheme) -> Self
fn from(key_derivation_function_scheme: KeyDerivationFunctionScheme) -> Self
Converts to this type from the input type.
source§impl PartialEq for KeyDerivationFunctionScheme
impl PartialEq for KeyDerivationFunctionScheme
source§fn eq(&self, other: &KeyDerivationFunctionScheme) -> bool
fn eq(&self, other: &KeyDerivationFunctionScheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for KeyDerivationFunctionScheme
impl Eq for KeyDerivationFunctionScheme
impl StructuralPartialEq for KeyDerivationFunctionScheme
Auto Trait Implementations§
impl Freeze for KeyDerivationFunctionScheme
impl RefUnwindSafe for KeyDerivationFunctionScheme
impl Send for KeyDerivationFunctionScheme
impl Sync for KeyDerivationFunctionScheme
impl Unpin for KeyDerivationFunctionScheme
impl UnwindSafe for KeyDerivationFunctionScheme
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