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<KeyedHashScheme> for KeyedHashScheme
impl PartialEq<KeyedHashScheme> 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.