HomeSort by relevance Sort by last modified time
    Searched refs:HashCtx (Results 1 - 7 of 7) sorted by null

  /device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/
HashLibBaseCryptoRouterDxe.c 45 HASH_HANDLE *HashCtx;
53 HashCtx = AllocatePool (sizeof(*HashCtx) * mHashInterfaceCount);
54 ASSERT (HashCtx != NULL);
59 mHashInterface[Index].HashInit (&HashCtx[Index]);
63 *HashHandle = (HASH_HANDLE)HashCtx;
85 HASH_HANDLE *HashCtx;
93 HashCtx = (HASH_HANDLE *)HashHandle;
98 mHashInterface[Index].HashUpdate (HashCtx[Index], DataToHash, DataToHashLen);
127 HASH_HANDLE *HashCtx;
    [all...]
HashLibBaseCryptoRouterPei.c 73 HASH_HANDLE *HashCtx;
86 HashCtx = AllocatePool (sizeof(*HashCtx) * HashInterfaceHob->HashInterfaceCount);
87 ASSERT (HashCtx != NULL);
92 HashInterfaceHob->HashInterface[Index].HashInit (&HashCtx[Index]);
96 *HashHandle = (HASH_HANDLE)HashCtx;
119 HASH_HANDLE *HashCtx;
132 HashCtx = (HASH_HANDLE *)HashHandle;
137 HashInterfaceHob->HashInterface[Index].HashUpdate (HashCtx[Index], DataToHash, DataToHashLen);
167 HASH_HANDLE *HashCtx;
    [all...]
  /device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/
HashVerify.c 89 VOID *HashCtx;
104 HashCtx = AllocatePool (CtxSize);
107 Status = Md4Init (HashCtx);
114 Status = Md4Update (HashCtx, HashData, DataSize);
121 Status = Md4Final (HashCtx, Digest);
127 FreePool (HashCtx);
156 HashCtx = AllocatePool (CtxSize);
159 Status = Md5Init (HashCtx);
166 Status = Md5Update (HashCtx, HashData, DataSize);
173 Status = Md5Final (HashCtx, Digest);
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Hash2DxeCrypto/
Hash2DxeCrypto.c 357 VOID *HashCtx;
392 HashCtx = AllocatePool (CtxSize);
393 if (HashCtx == NULL) {
397 Ret = HashInfo->Init (HashCtx);
406 Instance->HashContext = HashCtx;
409 Ret = HashInfo->Update (HashCtx, Message, MessageSize);
415 Ret = HashInfo->Final (HashCtx, (UINT8 *)Hash->Sha1Hash);
424 FreePool (HashCtx);
454 VOID *HashCtx;
487 HashCtx = AllocatePool (CtxSize);
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/
Pkcs7VerifyDxe.c 49 VOID *HashCtx;
53 HashCtx = NULL;
60 HashCtx = AllocatePool (CtxSize);
61 if (HashCtx == NULL) {
64 Status = Sha1Init (HashCtx);
65 Status = Sha1Update (HashCtx, Data, DataSize);
66 Status = Sha1Final (HashCtx, HashValue);
73 HashCtx = AllocatePool (CtxSize);
74 if (HashCtx == NULL) {
77 Status = Sha256Init (HashCtx);
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DxeImageVerificationLib.c 300 VOID *HashCtx;
311 HashCtx = NULL;
352 HashCtx = AllocatePool (CtxSize);
353 if (HashCtx == NULL) {
360 Status = mHash[HashAlg].HashInit(HashCtx);
410 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
438 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
462 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
487 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
560 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
SecureBootConfigImpl.c     [all...]

Completed in 524 milliseconds