Searched refs:AuthSessionIn (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
D | Tpm2Help.c | 93 IN TPMS_AUTH_COMMAND *AuthSessionIn, OPTIONAL in CopyAuthSessionCommand() argument 104 if (AuthSessionIn != NULL) { in CopyAuthSessionCommand() 106 WriteUnaligned32 ((UINT32 *)Buffer, SwapBytes32(AuthSessionIn->sessionHandle)); in CopyAuthSessionCommand() 110 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (AuthSessionIn->nonce.size)); in CopyAuthSessionCommand() 113 CopyMem (Buffer, AuthSessionIn->nonce.buffer, AuthSessionIn->nonce.size); in CopyAuthSessionCommand() 114 Buffer += AuthSessionIn->nonce.size; in CopyAuthSessionCommand() 117 *(UINT8 *)Buffer = *(UINT8 *)&AuthSessionIn->sessionAttributes; in CopyAuthSessionCommand() 121 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (AuthSessionIn->hmac.size)); in CopyAuthSessionCommand() 124 CopyMem (Buffer, AuthSessionIn->hmac.buffer, AuthSessionIn->hmac.size); in CopyAuthSessionCommand() 125 Buffer += AuthSessionIn->hmac.size; in CopyAuthSessionCommand() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/ |
D | Tpm2CommandLib.h | 977 IN TPMS_AUTH_COMMAND *AuthSessionIn, OPTIONAL 992 IN UINT8 *AuthSessionIn,
|