Home
last modified time | relevance | path

Searched refs:Digest (Results 1 – 25 of 37) sorted by relevance

12

/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/
DHashVerify.c91 UINT8 Digest[MAX_DIGEST_SIZE]; in ValidateCryptDigest() local
102 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
121 Status = Md4Final (HashCtx, Digest); in ValidateCryptDigest()
130 if (CompareMem (Digest, Md4Digest, MD5_DIGEST_SIZE) != 0) { in ValidateCryptDigest()
142 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
161 Status = Md5Final (HashCtx, Digest); in ValidateCryptDigest()
170 if (CompareMem (Digest, Md5Digest, MD5_DIGEST_SIZE) != 0) { in ValidateCryptDigest()
182 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
201 Status = Sha1Final (HashCtx, Digest); in ValidateCryptDigest()
210 if (CompareMem (Digest, Sha1Digest, SHA1_DIGEST_SIZE) != 0) { in ValidateCryptDigest()
[all …]
DHmacVerify.c71 UINT8 Digest[MAX_DIGEST_SIZE]; in ValidateCryptHmac() local
81 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptHmac()
100 Status = HmacMd5Final (HmacCtx, Digest); in ValidateCryptHmac()
109 if (CompareMem (Digest, HmacMd5Digest, MD5_DIGEST_SIZE) != 0) { in ValidateCryptHmac()
121 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptHmac()
140 Status = HmacSha1Final (HmacCtx, Digest); in ValidateCryptHmac()
149 if (CompareMem (Digest, HmacSha1Digest, SHA1_DIGEST_SIZE) != 0) { in ValidateCryptHmac()
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/
DHashLibBaseCryptoRouterCommon.c68 IN TPML_DIGEST_VALUES *Digest in Tpm2SetHashToDigestList() argument
73 &Digest->digests[0], in Tpm2SetHashToDigestList()
74 sizeof(Digest->digests[0]) in Tpm2SetHashToDigestList()
DHashLibBaseCryptoRouterDxe.c126 TPML_DIGEST_VALUES Digest; in HashCompleteAndExtend() local
143 mHashInterface[Index].HashFinal (HashCtx[Index], &Digest); in HashCompleteAndExtend()
144 Tpm2SetHashToDigestList (DigestList, &Digest); in HashCompleteAndExtend()
DHashLibBaseCryptoRouterPei.c165 TPML_DIGEST_VALUES Digest; in HashCompleteAndExtend() local
188 HashInterfaceHob->HashInterface[Index].HashFinal (HashCtx[Index], &Digest); in HashCompleteAndExtend()
189 Tpm2SetHashToDigestList (DigestList, &Digest); in HashCompleteAndExtend()
DHashLibBaseCryptoRouterCommon.h41 IN TPML_DIGEST_VALUES *Digest
/device/linaro/bootloader/edk2/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/
DPeiRsa2048Sha256GuidedSectionExtractLib.c138 UINT8 Digest[SHA256_DIGEST_SIZE]; in Rsa2048Sha256GuidedSectionHandler() local
232 ZeroMem (Digest, SHA256_DIGEST_SIZE); in Rsa2048Sha256GuidedSectionHandler()
245 CryptoStatus = Sha256Final (HashContext, Digest); in Rsa2048Sha256GuidedSectionHandler()
264 if (CompareMem (Digest, PublicKey, SHA256_DIGEST_SIZE) == 0) { in Rsa2048Sha256GuidedSectionHandler()
307 ZeroMem (Digest, SHA256_DIGEST_SIZE); in Rsa2048Sha256GuidedSectionHandler()
322 CryptoStatus = Sha256Final (HashContext, Digest); in Rsa2048Sha256GuidedSectionHandler()
335 Digest, in Rsa2048Sha256GuidedSectionHandler()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/
DDxeRsa2048Sha256GuidedSectionExtractLib.c141 UINT8 Digest[SHA256_DIGEST_SIZE]; in Rsa2048Sha256GuidedSectionHandler() local
248 ZeroMem (Digest, SHA256_DIGEST_SIZE); in Rsa2048Sha256GuidedSectionHandler()
261 CryptoStatus = Sha256Final (HashContext, Digest); in Rsa2048Sha256GuidedSectionHandler()
280 if (CompareMem (Digest, PublicKey, SHA256_DIGEST_SIZE) == 0) { in Rsa2048Sha256GuidedSectionHandler()
323 ZeroMem (Digest, SHA256_DIGEST_SIZE); in Rsa2048Sha256GuidedSectionHandler()
338 CryptoStatus = Sha256Final (HashContext, Digest); in Rsa2048Sha256GuidedSectionHandler()
351 Digest, in Rsa2048Sha256GuidedSectionHandler()
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha256/
DHashInstanceLibSha256.c114 UINT8 Digest[SHA256_DIGEST_SIZE]; in Sha256HashFinal() local
118 Sha256Final (Sha256Ctx, Digest); in Sha256HashFinal()
122 Tpm2SetSha256ToDigestList (DigestList, Digest); in Sha256HashFinal()
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha1/
DHashInstanceLibSha1.c114 UINT8 Digest[SHA1_DIGEST_SIZE]; in Sha1HashFinal() local
118 Sha1Final (Sha1Ctx, Digest); in Sha1HashFinal()
122 Tpm2SetSha1ToDigestList (DigestList, Digest); in Sha1HashFinal()
/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/
DTpmComm.c32 OUT TPM_DIGEST *Digest in TpmCommHashAll() argument
44 Sha1Final (Sha1Ctx, (UINT8 *)Digest); in TpmCommHashAll()
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DUefiTcgPlatform.h95 TCG_DIGEST Digest; ///< Value extended into PCRIndex member
108 TCG_DIGEST Digest; member
186 TPML_DIGEST_VALUES Digest; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/
DEfiTpm.h73 TCG_DIGEST Digest; // Value extended into PCRIndex member
84 TCG_DIGEST Digest; member
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DPayload.c370 UINT8 *Digest; in Ikev2PskGenerateAuthPayload() local
397 Digest = NULL; in Ikev2PskGenerateAuthPayload()
400 Digest = AllocateZeroPool (DigestSize); in Ikev2PskGenerateAuthPayload()
402 if (Digest == NULL) { in Ikev2PskGenerateAuthPayload()
420 Digest, in Ikev2PskGenerateAuthPayload()
432 CopyMem (KeyBuf, Digest, DigestSize); in Ikev2PskGenerateAuthPayload()
450 Digest, in Ikev2PskGenerateAuthPayload()
460 Digest, in Ikev2PskGenerateAuthPayload()
490 CopyMem (Fragments[2].Data, Digest, DigestSize); in Ikev2PskGenerateAuthPayload()
501 Digest, in Ikev2PskGenerateAuthPayload()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/
DPeiCryptLib.inf9 # Note: MD4 Digest functions, SHA-384 Digest functions, SHA-512 Digest functions,
DSmmCryptLib.inf9 # Note: MD4 Digest functions, SHA-384 Digest functions, SHA-512 Digest functions,
DRuntimeCryptLib.inf9 # Note: MD4 Digest functions, SHA-384 Digest functions, SHA-512 Digest functions,
DRuntimeCryptLib.uni9 // Note: MD4 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions, AES/
29 …d security issues such as buffer overflow or integer overflow. Note: MD4 Digest functions, HMAC-MD…
DSmmCryptLib.uni9 // Note: MD4 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions, AES/
29 …d security issues such as buffer overflow or integer overflow. Note: MD4 Digest functions, HMAC-MD…
DPeiCryptLib.uni9 // Note: MD4 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions, AES/
30 …d security issues such as buffer overflow or integer overflow. Note: MD4 Digest functions, HMAC-MD…
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/
DBaseCryptLibRuntimeCryptProtocol.uni6 // Note: MD4/MD5/SHA1 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions,
28 …ly used by the Authenticated Variable driver for IPF. Note: MD4/MD5/SHA1 Digest functions, HMAC-MD…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/md5test/
DREADME2 Internet Draft (Rivest and Dusse, The MD5 Message-Digest Algorithm, 10
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DTcg2Dxe.c390 DEBUG ((EFI_D_INFO, "%02x ", EventHdr->Digest.digest[Index])); in DumpEvent()
486 DEBUG ((EFI_D_INFO, " DigestCount: 0x%08x\n", TcgPcrEvent2->Digest.count)); in DumpEvent2()
488 DigestCount = TcgPcrEvent2->Digest.count; in DumpEvent2()
489 HashAlgo = TcgPcrEvent2->Digest.digests[0].hashAlg; in DumpEvent2()
490 DigestBuffer = (UINT8 *)&TcgPcrEvent2->Digest.digests[0].digest; in DumpEvent2()
534 DigestCount = TcgPcrEvent2->Digest.count; in GetPcrEvent2Size()
535 HashAlgo = TcgPcrEvent2->Digest.digests[0].hashAlg; in GetPcrEvent2Size()
536 DigestBuffer = (UINT8 *)&TcgPcrEvent2->Digest.digests[0].digest; in GetPcrEvent2Size()
873 IN VOID *Digest in Tpm2GetDigestFromDigestList() argument
883 Digest, in Tpm2GetDigestFromDigestList()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/
Dmsg_02.txt124 Content-description: Digest Footer
134 End of Ppp Digest
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEPei/
DTrEEPei.c149 IN VOID *Digest in Tpm2GetDigestFromDigestList() argument
159 Digest, in Tpm2GetDigestFromDigestList()
252 Status = Tpm2GetDigestFromDigestList (TPM_ALG_SHA1, DigestList, &NewEventHdr->Digest); in LogHashEvent()

12