Home
last modified time | relevance | path

Searched refs:TpmPermanentFlags (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12CommandLib/
DTpm12GetCapability.c59 OUT TPM_PERMANENT_FLAGS *TpmPermanentFlags in Tpm12GetCapabilityFlagPermanent() argument
82 ZeroMem (TpmPermanentFlags, sizeof (*TpmPermanentFlags)); in Tpm12GetCapabilityFlagPermanent()
83 …CopyMem (TpmPermanentFlags, &Response.Flags, MIN (sizeof (*TpmPermanentFlags), Response.ResponseSi… in Tpm12GetCapabilityFlagPermanent()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgPei/
DTcgPei.c577 TPM_PERMANENT_FLAGS TpmPermanentFlags; in PhysicalPresencePpiNotifyCallback() local
581 Status = Tpm12GetCapabilityFlagPermanent (&TpmPermanentFlags); in PhysicalPresencePpiNotifyCallback()
589 …if (PcdGetBool (PcdPhysicalPresenceLifetimeLock) && !TpmPermanentFlags.physicalPresenceLifetimeLoc… in PhysicalPresencePpiNotifyCallback()
597 TpmPermanentFlags.physicalPresenceCMDEnable = TRUE; in PhysicalPresencePpiNotifyCallback()
600 TpmPermanentFlags.physicalPresenceCMDEnable = FALSE; in PhysicalPresencePpiNotifyCallback()
625 if (!TpmPermanentFlags.physicalPresenceCMDEnable) { in PhysicalPresencePpiNotifyCallback()
626 if (TpmPermanentFlags.physicalPresenceLifetimeLock) { in PhysicalPresencePpiNotifyCallback()
669 TPM_PERMANENT_FLAGS TpmPermanentFlags; in IsTpmUsable() local
671 Status = Tpm12GetCapabilityFlagPermanent (&TpmPermanentFlags); in IsTpmUsable()
675 return (BOOLEAN)(!TpmPermanentFlags.deactivated); in IsTpmUsable()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgConfigDxe/
DTcgConfigImpl.c72 TPM_PERMANENT_FLAGS *TpmPermanentFlags; in GetTpmState() local
102TpmPermanentFlags = (TPM_PERMANENT_FLAGS *) &CmdBuf[sizeof (TPM_RSP_COMMAND_HDR) + sizeof (UINT32)… in GetTpmState()
105 *TpmEnable = (BOOLEAN) !TpmPermanentFlags->disable; in GetTpmState()
109 *TpmActivate = (BOOLEAN) !TpmPermanentFlags->deactivated; in GetTpmState()
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/
DTpm12CommandLib.h208 OUT TPM_PERMANENT_FLAGS *TpmPermanentFlags
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/
DDxeTcgPhysicalPresenceLib.c83 TPM_PERMANENT_FLAGS *TpmPermanentFlags; in GetTpmCapability() local
115TpmPermanentFlags = (TPM_PERMANENT_FLAGS *)&RecvBuffer[sizeof (TPM_RSP_COMMAND_HDR) + sizeof (UINT… in GetTpmCapability()
118 *LifetimeLock = TpmPermanentFlags->physicalPresenceLifetimeLock; in GetTpmCapability()
122 *CmdEnable = TpmPermanentFlags->physicalPresenceCMDEnable; in GetTpmCapability()