Home
last modified time | relevance | path

Searched refs:Symmetric (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
DTpm2Session.c31 TPMT_SYM_DEF Symmetric; member
68 IN TPMT_SYM_DEF *Symmetric, in Tpm2StartAuthSession() argument
104 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->algorithm)); in Tpm2StartAuthSession()
106 switch (Symmetric->algorithm) { in Tpm2StartAuthSession()
110 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->keyBits.aes)); in Tpm2StartAuthSession()
112 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->mode.aes)); in Tpm2StartAuthSession()
116 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->keyBits.SM4)); in Tpm2StartAuthSession()
118 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->mode.SM4)); in Tpm2StartAuthSession()
122 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->keyBits.sym)); in Tpm2StartAuthSession()
124 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->mode.sym)); in Tpm2StartAuthSession()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/
DTpm2CommandLib.h858 IN TPMT_SYM_DEF *Symmetric,