Home
last modified time | relevance | path

Searched refs:PPFlags (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/
DSmmTcg2PhysicalPresenceLib.c167 … Flags.PPFlags = TCG2_BIOS_TPM_MANAGEMENT_FLAG_DEFAULT | TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_DEFAULT; in Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunctionEx()
169 …ReturnCode = Tcg2PpVendorLibSubmitRequestToPreOSFunction (*OperationRequest, Flags.PPFlags, *Reque… in Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunctionEx()
289 if ((Flags.PPFlags & TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CLEAR) == 0) { in Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()
302 if ((Flags.PPFlags & TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CHANGE_PCRS) == 0) { in Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()
308 if ((Flags.PPFlags & TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CHANGE_EPS) == 0) { in Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()
318 … if ((Flags.PPFlags & TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_ENABLE_BLOCK_SID) == 0) { in Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()
324 … if ((Flags.PPFlags & TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_DISABLE_BLOCK_SID) == 0) { in Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()
350 return Tcg2PpVendorLibGetUserConfirmationStatusFunction (OperationRequest, Flags.PPFlags); in Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/
DDxeTcg2PhysicalPresenceLib.c179 PpiFlags->PPFlags |= TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CLEAR; in Tcg2ExecutePhysicalPresence()
183 PpiFlags->PPFlags &= ~TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CLEAR; in Tcg2ExecutePhysicalPresence()
215 PpiFlags->PPFlags |= TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_ENABLE_BLOCK_SID; in Tcg2ExecutePhysicalPresence()
219 PpiFlags->PPFlags &= ~TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_ENABLE_BLOCK_SID; in Tcg2ExecutePhysicalPresence()
223 PpiFlags->PPFlags |= TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_ENABLE_BLOCK_SID; in Tcg2ExecutePhysicalPresence()
227 PpiFlags->PPFlags &= ~TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_ENABLE_BLOCK_SID; in Tcg2ExecutePhysicalPresence()
231 PpiFlags->PPFlags |= TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_DISABLE_BLOCK_SID; in Tcg2ExecutePhysicalPresence()
235 PpiFlags->PPFlags &= ~TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_DISABLE_BLOCK_SID; in Tcg2ExecutePhysicalPresence()
625 if ((Flags.PPFlags & TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CLEAR) == 0) { in Tcg2HaveValidTpmRequest()
638 if ((Flags.PPFlags & TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CHANGE_PCRS) == 0) { in Tcg2HaveValidTpmRequest()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/
DDxeTcgPhysicalPresenceLib.c333 if ((PpiFlags->PPFlags & TCG_VENDOR_LIB_FLAG_RESET_TRACK) == 0) { in ExecutePhysicalPresence()
335 PpiFlags->PPFlags |= TCG_VENDOR_LIB_FLAG_RESET_TRACK; in ExecutePhysicalPresence()
338 PpiFlags->PPFlags &= ~TCG_VENDOR_LIB_FLAG_RESET_TRACK; in ExecutePhysicalPresence()
378 PpiFlags->PPFlags &= ~TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_PROVISION; in ExecutePhysicalPresence()
382 PpiFlags->PPFlags |= TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_PROVISION; in ExecutePhysicalPresence()
386 PpiFlags->PPFlags &= ~TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR; in ExecutePhysicalPresence()
390 PpiFlags->PPFlags |= TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR; in ExecutePhysicalPresence()
394 PpiFlags->PPFlags &= ~TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_MAINTENANCE; in ExecutePhysicalPresence()
398 PpiFlags->PPFlags |= TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_MAINTENANCE; in ExecutePhysicalPresence()
406 if ((PpiFlags->PPFlags & TCG_VENDOR_LIB_FLAG_RESET_TRACK) == 0) { in ExecutePhysicalPresence()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/
DDxeTrEEPhysicalPresenceLib.c140 PpiFlags->PPFlags &= ~TREE_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR; in TrEEExecutePhysicalPresence()
144 PpiFlags->PPFlags |= TREE_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR; in TrEEExecutePhysicalPresence()
363 if ((Flags.PPFlags & TREE_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR) != 0) { in TrEEHaveValidTpmRequest()
377 …IsRequestValid = TrEEPpVendorLibHasValidRequest (TcgPpData->PPRequest, Flags.PPFlags, RequestConfi… in TrEEHaveValidTpmRequest()
391 if ((Flags.PPFlags & TREE_VENDOR_LIB_FLAG_RESET_TRACK) != 0) { in TrEEHaveValidTpmRequest()
462 NewPPFlags = NewFlags.PPFlags; in TrEEExecutePendingTpmRequest()
464 NewFlags.PPFlags = (UINT8)NewPPFlags; in TrEEExecutePendingTpmRequest()
501 if ((NewFlags.PPFlags & TREE_VENDOR_LIB_FLAG_RESET_TRACK) == 0) { in TrEEExecutePendingTpmRequest()
596 PpiFlags.PPFlags = 0; in TrEEPhysicalPresenceLibProcessRequest()
609 DEBUG ((EFI_D_INFO, "[TPM2] PpiFlags = %x\n", PpiFlags.PPFlags)); in TrEEPhysicalPresenceLibProcessRequest()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgSmm/
DTcgSmm.c126 Flags.PPFlags = TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_PROVISION; in PhysicalPresenceCallback()
128 …de = TcgPpVendorLibSubmitRequestToPreOSFunction (mTcgNvs->PhysicalPresence.Request, Flags.PPFlags); in PhysicalPresenceCallback()
166 if ((Flags.PPFlags & TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_PROVISION) != 0) { in PhysicalPresenceCallback()
173 if ((Flags.PPFlags & TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR) != 0) { in PhysicalPresenceCallback()
179 if ((Flags.PPFlags & TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_MAINTENANCE) != 0) { in PhysicalPresenceCallback()
186 …if ((Flags.PPFlags & TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR) != 0 && (Flags.PPFlags & TCG_BIOS_… in PhysicalPresenceCallback()
214 …TcgPpVendorLibGetUserConfirmationStatusFunction (mTcgNvs->PhysicalPresence.Request, Flags.PPFlags); in PhysicalPresenceCallback()
/device/linaro/bootloader/edk2/SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/
DPeiTcg2PhysicalPresenceLib.c56 …PpiFlags.PPFlags = TCG2_BIOS_TPM_MANAGEMENT_FLAG_DEFAULT | TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_DEFAU… in Tcg2PhysicalPresenceLibGetManagementFlags()
58 return PpiFlags.PPFlags; in Tcg2PhysicalPresenceLibGetManagementFlags()
/device/linaro/bootloader/edk2/SecurityPkg/Include/Guid/
DTcg2PhysicalPresenceData.h41 UINT32 PPFlags; member
DTrEEPhysicalPresenceData.h48 UINT8 PPFlags; member
DPhysicalPresenceData.h67 UINT8 PPFlags; member
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEESmm/
DTrEESmm.c145 Flags.PPFlags = 0; in PhysicalPresenceCallback()
147 …e = TrEEPpVendorLibSubmitRequestToPreOSFunction (mTcgNvs->PhysicalPresence.Request, Flags.PPFlags); in PhysicalPresenceCallback()
180 if ((Flags.PPFlags & TREE_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR) != 0) { in PhysicalPresenceCallback()
210 …rEEPpVendorLibGetUserConfirmationStatusFunction (mTcgNvs->PhysicalPresence.Request, Flags.PPFlags); in PhysicalPresenceCallback()