[][src]Enum tss_esapi::constants::algorithm::KeyedHash

pub enum KeyedHash {
    Hmac,
    Xor,
}

Keyed hash (KEYEDHASH)

Enum containing keyed hash

Variants

Hmac
Xor

Implementations

impl KeyedHash[src]

pub fn alg_id(self) -> TPM2_ALG_ID[src]

Returns the TPM2_ALG_ID that corresponds to the keyed hash.

Trait Implementations

impl Clone for KeyedHash[src]

impl Copy for KeyedHash[src]

impl Debug for KeyedHash[src]

impl Eq for KeyedHash[src]

impl From<KeyedHash> for TPM2_ALG_ID[src]

impl PartialEq<KeyedHash> for KeyedHash[src]

impl StructuralEq for KeyedHash[src]

impl StructuralPartialEq for KeyedHash[src]

impl TryFrom<u16> for KeyedHash[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Free for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.