Lines Matching refs:HashCtx
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;
181 HashCtx = (HASH_HANDLE *)HashHandle;
187 HashInterfaceHob->HashInterface[Index].HashUpdate (HashCtx[Index], DataToHash, DataToHashLen);
188 HashInterfaceHob->HashInterface[Index].HashFinal (HashCtx[Index], &Digest);
193 FreePool (HashCtx);