Searched refs:Pcrs (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Pei/ |
D | Tcg2Pei.c | 370 TPML_PCR_SELECTION Pcrs; in SetTpm2HashMask() local 375 Status = Tpm2GetCapabilityPcrs (&Pcrs); in SetTpm2HashMask() 380 DEBUG ((EFI_D_INFO, "Tpm2GetCapabilityPcrs Count - %08x\n", Pcrs.count)); in SetTpm2HashMask() 382 for (Index = 0; Index < Pcrs.count; Index++) { in SetTpm2HashMask() 383 DEBUG ((EFI_D_INFO, "hash - %x\n", Pcrs.pcrSelections[Index].hash)); in SetTpm2HashMask() 384 switch (Pcrs.pcrSelections[Index].hash) { in SetTpm2HashMask() 386 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in SetTpm2HashMask() 391 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in SetTpm2HashMask() 396 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in SetTpm2HashMask() 401 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in SetTpm2HashMask() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/ |
D | Tcg2ConfigImpl.c | 504 TPML_PCR_SELECTION Pcrs; in InstallTcg2ConfigForm() local 568 Status = Tpm2GetCapabilityPcrs (&Pcrs); in InstallTcg2ConfigForm() 574 for (Index = 0; Index < Pcrs.count; Index++) { in InstallTcg2ConfigForm() 575 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in InstallTcg2ConfigForm() 576 AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm() 582 for (Index = 0; Index < Pcrs.count; Index++) { in InstallTcg2ConfigForm() 583 AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm() 584 SetConfigInfo (&Tcg2ConfigInfo, Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
D | Tpm2Capability.c | 459 OUT TPML_PCR_SELECTION *Pcrs in Tpm2GetCapabilityPcrs() argument 478 Pcrs->count = SwapBytes32 (TpmCap.data.assignedPCR.count); in Tpm2GetCapabilityPcrs() 479 for (Index = 0; Index < Pcrs->count; Index++) { in Tpm2GetCapabilityPcrs() 480 … Pcrs->pcrSelections[Index].hash = SwapBytes16 (TpmCap.data.assignedPCR.pcrSelections[Index].hash); in Tpm2GetCapabilityPcrs() 481 …Pcrs->pcrSelections[Index].sizeofSelect = TpmCap.data.assignedPCR.pcrSelections[Index].sizeofSelec… in Tpm2GetCapabilityPcrs() 482 …CopyMem (Pcrs->pcrSelections[Index].pcrSelect, TpmCap.data.assignedPCR.pcrSelections[Index].pcrSel… in Tpm2GetCapabilityPcrs()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 2344 TPML_PCR_SELECTION Pcrs; in DriverEntry() local 2414 Status = Tpm2GetCapabilityPcrs (&Pcrs); in DriverEntry() 2421 DEBUG ((EFI_D_INFO, "Tpm2GetCapabilityPcrs Count - %08x\n", Pcrs.count)); in DriverEntry() 2425 for (Index = 0; Index < Pcrs.count; Index++) { in DriverEntry() 2426 DEBUG ((EFI_D_INFO, "hash - %x\n", Pcrs.pcrSelections[Index].hash)); in DriverEntry() 2427 switch (Pcrs.pcrSelections[Index].hash) { in DriverEntry() 2431 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in DriverEntry() 2438 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in DriverEntry() 2445 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in DriverEntry() 2452 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in DriverEntry() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | TrEEDxe.c | 1763 TPML_PCR_SELECTION Pcrs; in DriverEntry() local 1820 Status = Tpm2GetCapabilityPcrs (&Pcrs); in DriverEntry() 1825 DEBUG ((EFI_D_INFO, "Tpm2GetCapabilityPcrs Count - %08x\n", Pcrs.count)); in DriverEntry() 1827 for (Index = 0; Index < Pcrs.count; Index++) { in DriverEntry() 1828 DEBUG ((EFI_D_INFO, "hash - %x\n", Pcrs.pcrSelections[Index].hash)); in DriverEntry() 1829 switch (Pcrs.pcrSelections[Index].hash) { in DriverEntry()
|
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/ |
D | Tpm2CommandLib.h | 745 OUT TPML_PCR_SELECTION *Pcrs
|