Searched refs:hashAlg (Results 1 – 9 of 9) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
D | Tpm2Help.c | 265 …if (!IsHashAlgSupportedInHashAlgorithmMask(DigestList->digests[Index].hashAlg, HashAlgorithmMask))… in CopyDigestListToBuffer() 266 …TPM2 Event log has HashAlg unsupported by PCR bank (0x%x)\n", DigestList->digests[Index].hashAlg)); in CopyDigestListToBuffer() 269 … CopyMem (Buffer, &DigestList->digests[Index].hashAlg, sizeof(DigestList->digests[Index].hashAlg)); in CopyDigestListToBuffer() 270 Buffer = (UINT8 *)Buffer + sizeof(DigestList->digests[Index].hashAlg); in CopyDigestListToBuffer() 271 DigestSize = GetHashSizeFromAlgo (DigestList->digests[Index].hashAlg); in CopyDigestListToBuffer() 300 DigestSize = GetHashSizeFromAlgo (DigestList->digests[Index].hashAlg); in GetDigestListSize() 301 TotalSize += sizeof(DigestList->digests[Index].hashAlg) + DigestSize; in GetDigestListSize() 330 if (DigestList->digests[Index].hashAlg == HashAlg) { in GetDigestFromDigestList()
|
D | Tpm2Capability.c | 651 …UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.details.hmac.hashAlg)); in Tpm2TestParms() 655 …(UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.details.xor.hashAlg)); in Tpm2TestParms() 714 …6 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.rsaDetail.scheme.details.rsassa.hashAlg)); in Tpm2TestParms() 718 …6 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.rsaDetail.scheme.details.rsapss.hashAlg)); in Tpm2TestParms() 724 …d16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.rsaDetail.scheme.details.oaep.hashAlg)); in Tpm2TestParms() 762 …16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.eccDetail.scheme.details.ecdsa.hashAlg)); in Tpm2TestParms() 766 …16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.eccDetail.scheme.details.ecdaa.hashAlg)); in Tpm2TestParms() 770 …(UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.eccDetail.scheme.details.ecSchnorr.hashAlg)); in Tpm2TestParms() 786 …gned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.eccDetail.kdf.details.mgf1.hashAlg)); in Tpm2TestParms() 790 …INT16 *)Buffer, SwapBytes16 (Parameters->parameters.eccDetail.kdf.details.kdf1_sp800_108.hashAlg)); in Tpm2TestParms() [all …]
|
D | Tpm2Integrity.c | 135 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(Digests->digests[Index].hashAlg)); in Tpm2PcrExtend() 137 DigestSize = GetHashSizeFromAlgo (Digests->digests[Index].hashAlg); in Tpm2PcrExtend() 139 DEBUG ((EFI_D_ERROR, "Unknown hash algorithm %d\r\n", Digests->digests[Index].hashAlg)); in Tpm2PcrExtend() 284 Digests->digests[Index].hashAlg = SwapBytes16 (ReadUnaligned16 ((UINT16 *)Buffer)); in Tpm2PcrEvent() 286 DigestSize = GetHashSizeFromAlgo (Digests->digests[Index].hashAlg); in Tpm2PcrEvent() 288 DEBUG ((EFI_D_ERROR, "Unknown hash algorithm %d\r\n", Digests->digests[Index].hashAlg)); in Tpm2PcrEvent()
|
D | Tpm2Sequences.c | 381 Results->digests[Index].hashAlg = SwapBytes16(ReadUnaligned16 ((UINT16 *)BufferPtr)); in Tpm2EventSequenceComplete() 384 DigestSize = GetHashSizeFromAlgo (Results->digests[Index].hashAlg); in Tpm2EventSequenceComplete() 386 …D_ERROR, "EventSequenceComplete: Unknown hash algorithm %d\r\n", Results->digests[Index].hashAlg)); in Tpm2EventSequenceComplete()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha256/ |
D | HashInstanceLibSha256.c | 38 DigestList->digests[0].hashAlg = TPM_ALG_SHA256; in Tpm2SetSha256ToDigestList()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha1/ |
D | HashInstanceLibSha1.c | 38 DigestList->digests[0].hashAlg = TPM_ALG_SHA1; in Tpm2SetSha1ToDigestList()
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | Tpm20.h | 921 TPMI_ALG_HASH hashAlg; member 1312 TPMI_ALG_HASH hashAlg; member 1323 TPMI_ALG_HASH hashAlg; member 1350 TPMI_ALG_HASH hashAlg; member 1373 TPMI_ALG_HASH hashAlg; member 1378 TPMI_ALG_HASH hashAlg; member 1383 TPMI_ALG_HASH hashAlg; member 1388 TPMI_ALG_HASH hashAlg; member 1393 TPMI_ALG_HASH hashAlg; member 1398 TPMI_ALG_HASH hashAlg; member
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibTpm2/ |
D | HashLibTpm2.c | 205 DigestList->digests[0].hashAlg = AlgoId; in HashCompleteAndExtend() 311 DigestList->digests[0].hashAlg = AlgoId; in HashAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 462 HashAlgo = TcgPcrEvent2->Digest.digests[0].hashAlg; in DumpEvent2() 508 HashAlgo = TcgPcrEvent2->Digest.digests[0].hashAlg; in GetPcrEvent2Size()
|