Home
last modified time | relevance | path

Searched refs:LocalAuthSession (Results 1 – 2 of 2) 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()
126 TPMS_AUTH_COMMAND LocalAuthSession; in Tpm2CommandAllocPcr() local
136 AuthSession = &LocalAuthSession; in Tpm2CommandAllocPcr()
137 ZeroMem (&LocalAuthSession, sizeof(LocalAuthSession)); in Tpm2CommandAllocPcr()
[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()