/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
D | HashVerify.c | 88 UINTN CtxSize; in ValidateCryptDigest() local 103 CtxSize = Md4GetContextSize (); in ValidateCryptDigest() 104 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest() 155 CtxSize = Md5GetContextSize (); in ValidateCryptDigest() 156 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest() 207 CtxSize = Sha1GetContextSize (); in ValidateCryptDigest() 208 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest() 259 CtxSize = Sha256GetContextSize (); in ValidateCryptDigest() 260 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest() 311 CtxSize = Sha384GetContextSize (); in ValidateCryptDigest() [all …]
|
D | HmacVerify.c | 85 UINTN CtxSize; in ValidateCryptHmac() local 98 CtxSize = HmacMd5GetContextSize (); in ValidateCryptHmac() 99 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac() 138 CtxSize = HmacSha1GetContextSize (); in ValidateCryptHmac() 139 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac() 177 CtxSize = HmacSha256GetContextSize (); in ValidateCryptHmac() 178 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
|
D | BlockCipherVerify.c | 146 UINTN CtxSize; in ValidateCryptBlockCipher() local 154 CtxSize = TdesGetContextSize (); in ValidateCryptBlockCipher() 155 CipherCtx = AllocatePool (CtxSize); in ValidateCryptBlockCipher() 272 CtxSize = AesGetContextSize (); in ValidateCryptBlockCipher() 273 CipherCtx = AllocatePool (CtxSize); in ValidateCryptBlockCipher() 428 CtxSize = Arc4GetContextSize (); in ValidateCryptBlockCipher() 429 CipherCtx = AllocatePool (CtxSize); in ValidateCryptBlockCipher()
|
D | RsaVerify.c | 97 UINTN CtxSize; in ValidateCryptRsa() local 307 CtxSize = Sha1GetContextSize (); in ValidateCryptRsa() 308 Sha1Ctx = AllocatePool (CtxSize); in ValidateCryptRsa()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/ |
D | TpmComm.c | 36 UINTN CtxSize; in TpmCommHashAll() local 38 CtxSize = Sha1GetContextSize (); in TpmCommHashAll() 39 Sha1Ctx = AllocatePool (CtxSize); in TpmCommHashAll()
|
/device/linaro/bootloader/edk2/SecurityPkg/Hash2DxeCrypto/ |
D | Hash2DxeCrypto.c | 358 UINTN CtxSize; in BaseCrypto2Hash() local 388 CtxSize = HashInfo->GetContextSize (); in BaseCrypto2Hash() 389 if (CtxSize == 0) { in BaseCrypto2Hash() 392 HashCtx = AllocatePool (CtxSize); in BaseCrypto2Hash() 455 UINTN CtxSize; in BaseCrypto2HashInit() local 483 CtxSize = HashInfo->GetContextSize (); in BaseCrypto2HashInit() 484 if (CtxSize == 0) { in BaseCrypto2HashInit() 487 HashCtx = AllocatePool (CtxSize); in BaseCrypto2HashInit()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha256/ |
D | HashInstanceLibSha256.c | 61 UINTN CtxSize; in Sha256HashInit() local 63 CtxSize = Sha256GetContextSize (); in Sha256HashInit() 64 Sha256Ctx = AllocatePool (CtxSize); in Sha256HashInit()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha1/ |
D | HashInstanceLibSha1.c | 61 UINTN CtxSize; in Sha1HashInit() local 63 CtxSize = Sha1GetContextSize (); in Sha1HashInit() 64 Sha1Ctx = AllocatePool (CtxSize); in Sha1HashInit()
|
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/ |
D | Pkcs7VerifyDxe.c | 50 UINTN CtxSize; in CalculateDataHash() local 59 CtxSize = Sha1GetContextSize (); in CalculateDataHash() 60 HashCtx = AllocatePool (CtxSize); in CalculateDataHash() 72 CtxSize = Sha256GetContextSize (); in CalculateDataHash() 73 HashCtx = AllocatePool (CtxSize); in CalculateDataHash() 85 CtxSize = Sha384GetContextSize (); in CalculateDataHash() 86 HashCtx = AllocatePool (CtxSize); in CalculateDataHash() 98 CtxSize = Sha512GetContextSize (); in CalculateDataHash() 99 HashCtx = AllocatePool (CtxSize); in CalculateDataHash()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/ |
D | AuthVariableLib.c | 145 UINTN CtxSize; in AuthVariableLibInitialize() local 160 CtxSize = Sha256GetContextSize (); in AuthVariableLibInitialize() 161 mHashCtx = AllocateRuntimePool (CtxSize); in AuthVariableLibInitialize()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgPei/ |
D | TcgPei.c | 220 UINTN CtxSize; in TpmCommHashAll() local 222 CtxSize = Sha1GetContextSize (); in TpmCommHashAll() 223 Sha1Ctx = AllocatePool (CtxSize); in TpmCommHashAll()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
D | AuthService.c | 47 UINTN CtxSize; in AutenticatedVariableServiceInitialize() local 60 CtxSize = Sha256GetContextSize (); in AutenticatedVariableServiceInitialize() 61 mVariableModuleGlobal->HashContext[Physical] = AllocateRuntimePool (CtxSize); in AutenticatedVariableServiceInitialize()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
D | DxeTpmMeasureBootLib.c | 313 UINTN CtxSize; in TcgMeasurePeImage() local 405 CtxSize = Sha1GetContextSize (); in TcgMeasurePeImage() 406 Sha1Ctx = AllocatePool (CtxSize); in TcgMeasurePeImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/ |
D | TcgDxe.c | 293 UINTN CtxSize; in TpmCommHashAll() local 295 CtxSize = Sha1GetContextSize (); in TpmCommHashAll() 296 Sha1Ctx = AllocatePool (CtxSize); in TpmCommHashAll()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigImpl.c | 1089 UINTN CtxSize; in CalculateCertHash() local 1110 CtxSize = mHash[HashAlg].GetContextSize (); in CalculateCertHash() 1111 HashCtx = AllocatePool (CtxSize); in CalculateCertHash() 1777 UINTN CtxSize; in HashPeImage() local 1806 CtxSize = mHash[HashAlg].GetContextSize(); in HashPeImage() 1808 HashCtx = AllocatePool (CtxSize); in HashPeImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | DxeImageVerificationLib.c | 301 UINTN CtxSize; in HashPeImage() local 350 CtxSize = mHash[HashAlg].GetContextSize(); in HashPeImage() 352 HashCtx = AllocatePool (CtxSize); in HashPeImage()
|