Searched refs:TpmHashAlgorithmBitmap (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
D | Tpm2Capability.c | 502 OUT UINT32 *TpmHashAlgorithmBitmap, in Tpm2GetCapabilitySupportedAndActivePcrs() argument 520 *TpmHashAlgorithmBitmap = HASH_ALG_SHA1; in Tpm2GetCapabilitySupportedAndActivePcrs() 529 *TpmHashAlgorithmBitmap = 0; in Tpm2GetCapabilitySupportedAndActivePcrs() 535 *TpmHashAlgorithmBitmap |= HASH_ALG_SHA1; in Tpm2GetCapabilitySupportedAndActivePcrs() 543 *TpmHashAlgorithmBitmap |= HASH_ALG_SHA256; in Tpm2GetCapabilitySupportedAndActivePcrs() 551 *TpmHashAlgorithmBitmap |= HASH_ALG_SHA384; in Tpm2GetCapabilitySupportedAndActivePcrs() 559 *TpmHashAlgorithmBitmap |= HASH_ALG_SHA512; in Tpm2GetCapabilitySupportedAndActivePcrs() 567 *TpmHashAlgorithmBitmap |= HASH_ALG_SM3_256; in Tpm2GetCapabilitySupportedAndActivePcrs()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Pei/ |
D | Tcg2Pei.c | 203 EFI_TCG2_EVENT_ALGORITHM_BITMAP TpmHashAlgorithmBitmap; in SyncPcrAllocationsAndPcrMask() local 214 Status = Tpm2GetCapabilitySupportedAndActivePcrs (&TpmHashAlgorithmBitmap, &TpmActivePcrBanks); in SyncPcrAllocationsAndPcrMask() 237 Status = Tpm2PcrAllocateBanks (NULL, (UINT32)TpmHashAlgorithmBitmap, NewTpmActivePcrBanks); in SyncPcrAllocationsAndPcrMask() 256 if ((Tpm2PcrMask & TpmHashAlgorithmBitmap) != Tpm2PcrMask) { in SyncPcrAllocationsAndPcrMask() 257 NewTpm2PcrMask = Tpm2PcrMask & TpmHashAlgorithmBitmap; in SyncPcrAllocationsAndPcrMask()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | TrEEDxe.c | 1730 UINT32 TpmHashAlgorithmBitmap; in DriverEntry() local 1788 TpmHashAlgorithmBitmap = TREE_BOOT_HASH_ALG_SHA1; in DriverEntry() 1791 TpmHashAlgorithmBitmap = 0; in DriverEntry() 1796 TpmHashAlgorithmBitmap |= TREE_BOOT_HASH_ALG_SHA1; in DriverEntry() 1799 TpmHashAlgorithmBitmap |= TREE_BOOT_HASH_ALG_SHA256; in DriverEntry() 1802 TpmHashAlgorithmBitmap |= TREE_BOOT_HASH_ALG_SHA384; in DriverEntry() 1805 TpmHashAlgorithmBitmap |= TREE_BOOT_HASH_ALG_SHA512; in DriverEntry() 1813 DEBUG ((EFI_D_INFO, "TPM.HashAlgorithmBitmap - 0x%08x\n", TpmHashAlgorithmBitmap)); in DriverEntry() 1816 mTcgDxeData.BsCap.HashAlgorithmBitmap = TpmHashAlgorithmBitmap; in DriverEntry()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/ |
D | DxeTcg2PhysicalPresenceLib.c | 163 EFI_TCG2_EVENT_ALGORITHM_BITMAP TpmHashAlgorithmBitmap; in Tcg2ExecutePhysicalPresence() local 187 Status = Tpm2GetCapabilitySupportedAndActivePcrs (&TpmHashAlgorithmBitmap, &ActivePcrBanks); in Tcg2ExecutePhysicalPresence() 189 Status = Tpm2PcrAllocateBanks (PlatformAuth, TpmHashAlgorithmBitmap, CommandParameter); in Tcg2ExecutePhysicalPresence() 205 Status = Tpm2GetCapabilitySupportedAndActivePcrs (&TpmHashAlgorithmBitmap, &ActivePcrBanks); in Tcg2ExecutePhysicalPresence() 207 Status = Tpm2PcrAllocateBanks (PlatformAuth, TpmHashAlgorithmBitmap, TpmHashAlgorithmBitmap); in Tcg2ExecutePhysicalPresence()
|
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/ |
D | Tpm2CommandLib.h | 779 OUT UINT32 *TpmHashAlgorithmBitmap,
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 2315 EFI_TCG2_EVENT_ALGORITHM_BITMAP TpmHashAlgorithmBitmap; in DriverEntry() local 2383 Status = Tpm2GetCapabilitySupportedAndActivePcrs (&TpmHashAlgorithmBitmap, &ActivePCRBanks); in DriverEntry() 2386 …mTcgDxeData.BsCap.HashAlgorithmBitmap = TpmHashAlgorithmBitmap & PcdGet32 (PcdTcg2HashAlgorithmBit… in DriverEntry()
|