Searched refs:digests (Results 1 – 11 of 11) 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() 272 CopyMem (Buffer, &DigestList->digests[Index].digest, DigestSize); 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() 333 &DigestList->digests[Index].digest, in GetDigestFromDigestList()
|
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() 144 &Digests->digests[Index].digest, 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() 292 &Digests->digests[Index].digest, in Tpm2PcrEvent() 401 Digests = PcrValuesOut->digests; in Tpm2PcrRead() 403 PcrValues->digests[Index].size = SwapBytes16(Digests->size); in Tpm2PcrRead() [all …]
|
D | Tpm2EnhancedAuthorization.c | 241 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (HashList->digests[Index].size)); in Tpm2PolicyOR() 243 CopyMem (Buffer, HashList->digests[Index].buffer, HashList->digests[Index].size); in Tpm2PolicyOR() 244 Buffer += HashList->digests[Index].size; in Tpm2PolicyOR()
|
D | Tpm2Sequences.c | 381 Results->digests[Index].hashAlg = SwapBytes16(ReadUnaligned16 ((UINT16 *)BufferPtr)); in Tpm2EventSequenceComplete() 384 DigestSize = GetHashSizeFromAlgo (Results->digests[Index].hashAlg); in Tpm2EventSequenceComplete() 386 …DEBUG ((EFI_D_ERROR, "EventSequenceComplete: Unknown hash algorithm %d\r\n", Results->digests[Inde… in Tpm2EventSequenceComplete() 390 &Results->digests[Index].digest, in Tpm2EventSequenceComplete()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/ |
D | HashLibBaseCryptoRouterCommon.c | 72 &DigestList->digests[DigestList->count], in Tpm2SetHashToDigestList() 73 &Digest->digests[0], in Tpm2SetHashToDigestList() 74 sizeof(Digest->digests[0]) in Tpm2SetHashToDigestList()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha256/ |
D | HashInstanceLibSha256.c | 38 DigestList->digests[0].hashAlg = TPM_ALG_SHA256; in Tpm2SetSha256ToDigestList() 40 DigestList->digests[0].digest.sha256, in Tpm2SetSha256ToDigestList()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha1/ |
D | HashInstanceLibSha1.c | 38 DigestList->digests[0].hashAlg = TPM_ALG_SHA1; in Tpm2SetSha1ToDigestList() 40 DigestList->digests[0].digest.sha1, in Tpm2SetSha1ToDigestList()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibTpm2/ |
D | HashLibTpm2.c | 205 DigestList->digests[0].hashAlg = AlgoId; in HashCompleteAndExtend() 206 CopyMem (&DigestList->digests[0].digest, Result.buffer, Result.size); in HashCompleteAndExtend() 311 DigestList->digests[0].hashAlg = AlgoId; in HashAndExtend() 312 CopyMem (&DigestList->digests[0].digest, Result.buffer, Result.size); in HashAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 462 HashAlgo = TcgPcrEvent2->Digest.digests[0].hashAlg; in DumpEvent2() 463 DigestBuffer = (UINT8 *)&TcgPcrEvent2->Digest.digests[0].digest; in DumpEvent2() 508 HashAlgo = TcgPcrEvent2->Digest.digests[0].hashAlg; in GetPcrEvent2Size() 509 DigestBuffer = (UINT8 *)&TcgPcrEvent2->Digest.digests[0].digest; in GetPcrEvent2Size()
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | Tpm20.h | 1075 TPM2B_DIGEST digests[8]; member 1081 TPMT_HA digests[HASH_COUNT]; member
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/ |
D | EDKII_openssl-1.0.2j.patch | 1028 /* We now have to 'read' from p7bio to calculate digests etc. */
|