Searched refs:CtxSize (Results 1 - 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/
H A DTpmComm.c36 UINTN CtxSize; local
38 CtxSize = Sha1GetContextSize ();
39 Sha1Ctx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/
H A DHmacVerify.c69 UINTN CtxSize; local
82 CtxSize = HmacMd5GetContextSize ();
83 HmacCtx = AllocatePool (CtxSize);
122 CtxSize = HmacSha1GetContextSize ();
123 HmacCtx = AllocatePool (CtxSize);
H A DHashVerify.c88 UINTN CtxSize; local
103 CtxSize = Md4GetContextSize ();
104 HashCtx = AllocatePool (CtxSize);
143 CtxSize = Md5GetContextSize ();
144 HashCtx = AllocatePool (CtxSize);
183 CtxSize = Sha1GetContextSize ();
184 HashCtx = AllocatePool (CtxSize);
223 CtxSize = Sha256GetContextSize ();
224 HashCtx = AllocatePool (CtxSize);
263 CtxSize
[all...]
H A DBlockCipherVerify.c146 UINTN CtxSize; local
154 CtxSize = TdesGetContextSize ();
155 CipherCtx = AllocatePool (CtxSize);
272 CtxSize = AesGetContextSize ();
273 CipherCtx = AllocatePool (CtxSize);
428 CtxSize = Arc4GetContextSize ();
429 CipherCtx = AllocatePool (CtxSize);
H A DRsaVerify.c97 UINTN CtxSize; local
307 CtxSize = Sha1GetContextSize ();
308 Sha1Ctx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha1/
H A DHashInstanceLibSha1.c61 UINTN CtxSize; local
63 CtxSize = Sha1GetContextSize ();
64 Sha1Ctx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha256/
H A DHashInstanceLibSha256.c61 UINTN CtxSize; local
63 CtxSize = Sha256GetContextSize ();
64 Sha256Ctx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/Hash2DxeCrypto/
H A DHash2DxeCrypto.c358 UINTN CtxSize; local
388 CtxSize = HashInfo->GetContextSize ();
389 if (CtxSize == 0) {
392 HashCtx = AllocatePool (CtxSize);
455 UINTN CtxSize; local
483 CtxSize = HashInfo->GetContextSize ();
484 if (CtxSize == 0) {
487 HashCtx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/
H A DPkcs7VerifyDxe.c50 UINTN CtxSize; local
59 CtxSize = Sha1GetContextSize ();
60 HashCtx = AllocatePool (CtxSize);
72 CtxSize = Sha256GetContextSize ();
73 HashCtx = AllocatePool (CtxSize);
85 CtxSize = Sha384GetContextSize ();
86 HashCtx = AllocatePool (CtxSize);
98 CtxSize = Sha512GetContextSize ();
99 HashCtx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
H A DAuthVariableLib.c144 UINTN CtxSize; local
157 CtxSize = Sha256GetContextSize ();
158 mHashCtx = AllocateRuntimePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c311 UINTN CtxSize; local
403 CtxSize = Sha1GetContextSize ();
404 Sha1Ctx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DAuthService.c47 UINTN CtxSize; local
60 CtxSize = Sha256GetContextSize ();
61 mVariableModuleGlobal->HashContext[Physical] = AllocateRuntimePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.c1077 UINTN CtxSize; local
1098 CtxSize = mHash[HashAlg].GetContextSize ();
1099 HashCtx = AllocatePool (CtxSize);
1691 UINTN CtxSize; local
1720 CtxSize = mHash[HashAlg].GetContextSize();
1722 HashCtx = AllocatePool (CtxSize);
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c295 UINTN CtxSize; local
343 CtxSize = mHash[HashAlg].GetContextSize();
345 HashCtx = AllocatePool (CtxSize);

Completed in 115 milliseconds