Home
last modified time | relevance | path

Searched refs:LocalAuthSession (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/
DDxeTcg2PhysicalPresenceLib.c81 TPMS_AUTH_COMMAND LocalAuthSession; in Tpm2CommandClear() local
86 AuthSession = &LocalAuthSession; in Tpm2CommandClear()
87 ZeroMem (&LocalAuthSession, sizeof(LocalAuthSession)); in Tpm2CommandClear()
88 LocalAuthSession.sessionHandle = TPM_RS_PW; in Tpm2CommandClear()
89 LocalAuthSession.hmac.size = PlatformAuth->size; in Tpm2CommandClear()
90 CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size); in Tpm2CommandClear()
104 ZeroMem (&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac)); in Tpm2CommandClear()
122 TPMS_AUTH_COMMAND LocalAuthSession; in Tpm2CommandChangeEps() local
127 AuthSession = &LocalAuthSession; in Tpm2CommandChangeEps()
128 ZeroMem (&LocalAuthSession, sizeof(LocalAuthSession)); in Tpm2CommandChangeEps()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/
DDxeTrEEPhysicalPresenceLib.c79 TPMS_AUTH_COMMAND LocalAuthSession; in TpmCommandClear() local
84 AuthSession = &LocalAuthSession; in TpmCommandClear()
85 ZeroMem (&LocalAuthSession, sizeof(LocalAuthSession)); in TpmCommandClear()
86 LocalAuthSession.sessionHandle = TPM_RS_PW; in TpmCommandClear()
87 LocalAuthSession.hmac.size = PlatformAuth->size; in TpmCommandClear()
88 CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size); in TpmCommandClear()
102 ZeroMem (&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac)); in TpmCommandClear()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
DTpm2Integrity.c558 TPMS_AUTH_COMMAND LocalAuthSession; in Tpm2PcrAllocateBanks() local
568 AuthSession = &LocalAuthSession; in Tpm2PcrAllocateBanks()
569 ZeroMem (&LocalAuthSession, sizeof(LocalAuthSession)); in Tpm2PcrAllocateBanks()
570 LocalAuthSession.sessionHandle = TPM_RS_PW; in Tpm2PcrAllocateBanks()
571 LocalAuthSession.hmac.size = PlatformAuth->size; in Tpm2PcrAllocateBanks()
572 CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size); in Tpm2PcrAllocateBanks()
669 ZeroMem(&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac)); in Tpm2PcrAllocateBanks()