Enum tss_esapi::structures::KeyedHashScheme
source · pub enum KeyedHashScheme {
Xor {
xor_scheme: XorScheme,
},
Hmac {
hmac_scheme: HmacScheme,
},
Null,
}
Expand description
Variants§
Implementations§
source§impl KeyedHashScheme
impl KeyedHashScheme
pub const HMAC_SHA_256: KeyedHashScheme = _
Trait Implementations§
source§impl Clone for KeyedHashScheme
impl Clone for KeyedHashScheme
source§fn clone(&self) -> KeyedHashScheme
fn clone(&self) -> KeyedHashScheme
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 KeyedHashScheme
impl Debug for KeyedHashScheme
source§impl From<KeyedHashScheme> for TPMT_KEYEDHASH_SCHEME
impl From<KeyedHashScheme> for TPMT_KEYEDHASH_SCHEME
source§fn from(keyed_hash_scheme: KeyedHashScheme) -> Self
fn from(keyed_hash_scheme: KeyedHashScheme) -> Self
Converts to this type from the input type.
source§impl PartialEq for KeyedHashScheme
impl PartialEq for KeyedHashScheme
source§fn eq(&self, other: &KeyedHashScheme) -> bool
fn eq(&self, other: &KeyedHashScheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<TPMT_KEYEDHASH_SCHEME> for KeyedHashScheme
impl TryFrom<TPMT_KEYEDHASH_SCHEME> for KeyedHashScheme
source§fn try_from(
tpmt_keyedhash_scheme: TPMT_KEYEDHASH_SCHEME
) -> Result<KeyedHashScheme>
fn try_from( tpmt_keyedhash_scheme: TPMT_KEYEDHASH_SCHEME ) -> Result<KeyedHashScheme>
Performs the conversion.
impl Copy for KeyedHashScheme
impl Eq for KeyedHashScheme
impl StructuralPartialEq for KeyedHashScheme
Auto Trait Implementations§
impl Freeze for KeyedHashScheme
impl RefUnwindSafe for KeyedHashScheme
impl Send for KeyedHashScheme
impl Sync for KeyedHashScheme
impl Unpin for KeyedHashScheme
impl UnwindSafe for KeyedHashScheme
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