Searched refs:pcrSelections (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
D | Tpm2Integrity.c | 339 …SendBuffer.PcrSelectionIn.pcrSelections[Index].hash = SwapBytes16(PcrSelectionIn->pcrSelections[In… in Tpm2PcrRead() 340 …SendBuffer.PcrSelectionIn.pcrSelections[Index].sizeofSelect = PcrSelectionIn->pcrSelections[Index]… in Tpm2PcrRead() 341 ….PcrSelectionIn.pcrSelections[Index].pcrSelect, &PcrSelectionIn->pcrSelections[Index].pcrSelect, S… in Tpm2PcrRead() 344 …f(SendBuffer.PcrSelectionIn.count) + sizeof(SendBuffer.PcrSelectionIn.pcrSelections[0]) * PcrSelec… in Tpm2PcrRead() 386 …RecvBuffer.PcrSelectionOut.count) + sizeof(RecvBuffer.PcrSelectionOut.pcrSelections[0]) * PcrSelec… in Tpm2PcrRead() 391 …PcrSelectionOut->pcrSelections[Index].hash = SwapBytes16(RecvBuffer.PcrSelectionOut.pcrSelections[… in Tpm2PcrRead() 392 …PcrSelectionOut->pcrSelections[Index].sizeofSelect = RecvBuffer.PcrSelectionOut.pcrSelections[Inde… in Tpm2PcrRead() 393 …rSelectionOut->pcrSelections[Index].pcrSelect, &RecvBuffer.PcrSelectionOut.pcrSelections[Index].pc… in Tpm2PcrRead() 399 …RecvBuffer.PcrSelectionOut.count) + sizeof(RecvBuffer.PcrSelectionOut.pcrSelections[0]) * PcrSelec… in Tpm2PcrRead() 470 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(PcrAllocation->pcrSelections[Index].hash)); in Tpm2PcrAllocate() [all …]
|
D | Tpm2Capability.c | 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/Library/DxeTcg2PhysicalPresenceLib/ |
D | DxeTcg2PhysicalPresenceLib.c | 148 PcrAllocation.pcrSelections[PcrAllocation.count].hash = TPM_ALG_SHA1; in Tpm2CommandAllocPcr() 149 PcrAllocation.pcrSelections[PcrAllocation.count].sizeofSelect = PCR_SELECT_MAX; in Tpm2CommandAllocPcr() 151 PcrAllocation.pcrSelections[PcrAllocation.count].pcrSelect[0] = 0xFF; in Tpm2CommandAllocPcr() 152 PcrAllocation.pcrSelections[PcrAllocation.count].pcrSelect[1] = 0xFF; in Tpm2CommandAllocPcr() 153 PcrAllocation.pcrSelections[PcrAllocation.count].pcrSelect[2] = 0xFF; in Tpm2CommandAllocPcr() 155 PcrAllocation.pcrSelections[PcrAllocation.count].pcrSelect[0] = 0x00; in Tpm2CommandAllocPcr() 156 PcrAllocation.pcrSelections[PcrAllocation.count].pcrSelect[1] = 0x00; in Tpm2CommandAllocPcr() 157 PcrAllocation.pcrSelections[PcrAllocation.count].pcrSelect[2] = 0x00; in Tpm2CommandAllocPcr() 162 PcrAllocation.pcrSelections[PcrAllocation.count].hash = TPM_ALG_SHA256; in Tpm2CommandAllocPcr() 163 PcrAllocation.pcrSelections[PcrAllocation.count].sizeofSelect = PCR_SELECT_MAX; in Tpm2CommandAllocPcr() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Pei/ |
D | Tcg2Pei.c | 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() 406 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in SetTpm2HashMask()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/ |
D | Tcg2ConfigImpl.c | 575 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in InstallTcg2ConfigForm() 576 AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash); 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/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 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() 2459 … if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) { in DriverEntry()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | TrEEDxe.c | 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/MdePkg/Include/IndustryStandard/ |
D | Tpm20.h | 1093 TPMS_PCR_SELECTION pcrSelections[HASH_COUNT]; member
|