Searched refs:Pcrs (Results 1 – 4 of 4) sorted by relevance
/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() 507 TPML_PCR_SELECTION Pcrs; in Tpm2GetCapabilitySupportedAndActivePcrs() local 513 Status = Tpm2GetCapabilityPcrs (&Pcrs); in Tpm2GetCapabilitySupportedAndActivePcrs() 528 DEBUG ((EFI_D_INFO, "GetSupportedAndActivePcrs - Count = %08x\n", Pcrs.count)); in Tpm2GetCapabilitySupportedAndActivePcrs() 531 for (Index = 0; Index < Pcrs.count; Index++) { in Tpm2GetCapabilitySupportedAndActivePcrs() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/ |
D | Tcg2ConfigImpl.c | 742 TPML_PCR_SELECTION Pcrs; in InstallTcg2ConfigForm() local 807 Status = Tpm2GetCapabilityPcrs (&Pcrs); in InstallTcg2ConfigForm() 813 for (Index = 0; Index < Pcrs.count; Index++) { in InstallTcg2ConfigForm() 814 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in InstallTcg2ConfigForm() 815 AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm() 821 for (Index = 0; Index < Pcrs.count; Index++) { in InstallTcg2ConfigForm() 822 AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm() 823 SetConfigInfo (&Tcg2ConfigInfo, Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | TrEEDxe.c | 1728 TPML_PCR_SELECTION Pcrs; in DriverEntry() local 1785 Status = Tpm2GetCapabilityPcrs (&Pcrs); in DriverEntry() 1790 DEBUG ((EFI_D_INFO, "Tpm2GetCapabilityPcrs Count - %08x\n", Pcrs.count)); in DriverEntry() 1792 for (Index = 0; Index < Pcrs.count; Index++) { in DriverEntry() 1793 DEBUG ((EFI_D_INFO, "hash - %x\n", Pcrs.pcrSelections[Index].hash)); in DriverEntry() 1794 switch (Pcrs.pcrSelections[Index].hash) { in DriverEntry()
|
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/ |
D | Tpm2CommandLib.h | 762 OUT TPML_PCR_SELECTION *Pcrs
|