#[repr(u16)]pub enum TpmAlgId {
Show 35 variants
Error = 0,
Rsa = 1,
Sha1 = 4,
Hmac = 5,
Aes = 6,
Mgf1 = 7,
KeyedHash = 8,
Xor = 10,
Sha256 = 11,
Sha384 = 12,
Sha512 = 13,
Null = 16,
Sm3_256 = 18,
Sm4 = 19,
Rsassa = 20,
Rsaes = 21,
Rsapss = 22,
Oaep = 23,
Ecdsa = 24,
Ecdh = 25,
Ecdaa = 26,
Sm2 = 27,
Ecschnorr = 28,
Ecmqv = 29,
Kdf1Sp800_56A = 32,
Kdf2 = 33,
Kdf1Sp800_108 = 34,
Ecc = 35,
SymCipher = 37,
Camellia = 38,
Ctr = 64,
Ofb = 65,
Cbc = 66,
Cfb = 67,
Ecb = 68,
}Expand description
Enumeration of the TPM_ALG_ID values.
Reference: TPM 2.0 Structures Specification, section 6.3.
Variants§
Error = 0
Rsa = 1
Sha1 = 4
Hmac = 5
Aes = 6
Mgf1 = 7
KeyedHash = 8
Xor = 10
Sha256 = 11
Sha384 = 12
Sha512 = 13
Null = 16
TPM_ALG_NULL
Sm3_256 = 18
Sm4 = 19
Rsassa = 20
Rsaes = 21
Rsapss = 22
Oaep = 23
Ecdsa = 24
Ecdh = 25
Ecdaa = 26
Sm2 = 27
Ecschnorr = 28
Ecmqv = 29
Kdf1Sp800_56A = 32
Kdf2 = 33
Kdf1Sp800_108 = 34
Ecc = 35
SymCipher = 37
Camellia = 38
Ctr = 64
Ofb = 65
Cbc = 66
Cfb = 67
Ecb = 68
Trait Implementations§
Source§impl Ord for TpmAlgId
impl Ord for TpmAlgId
Source§impl PartialOrd for TpmAlgId
impl PartialOrd for TpmAlgId
Source§impl TpmSized for TpmAlgId
impl TpmSized for TpmAlgId
impl Copy for TpmAlgId
impl Eq for TpmAlgId
impl StructuralPartialEq for TpmAlgId
Auto Trait Implementations§
impl Freeze for TpmAlgId
impl RefUnwindSafe for TpmAlgId
impl Send for TpmAlgId
impl Sync for TpmAlgId
impl Unpin for TpmAlgId
impl UnwindSafe for TpmAlgId
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