Lines Matching refs:HashCtx
89 VOID *HashCtx; in ValidateCryptDigest() local
104 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
107 Status = Md4Init (HashCtx); in ValidateCryptDigest()
114 Status = Md4Update (HashCtx, HashData, DataSize); in ValidateCryptDigest()
121 Status = Md4Final (HashCtx, Digest); in ValidateCryptDigest()
127 FreePool (HashCtx); in ValidateCryptDigest()
156 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
159 Status = Md5Init (HashCtx); in ValidateCryptDigest()
166 Status = Md5Update (HashCtx, HashData, DataSize); in ValidateCryptDigest()
173 Status = Md5Final (HashCtx, Digest); in ValidateCryptDigest()
179 FreePool (HashCtx); in ValidateCryptDigest()
208 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
211 Status = Sha1Init (HashCtx); in ValidateCryptDigest()
218 Status = Sha1Update (HashCtx, HashData, DataSize); in ValidateCryptDigest()
225 Status = Sha1Final (HashCtx, Digest); in ValidateCryptDigest()
231 FreePool (HashCtx); in ValidateCryptDigest()
260 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
263 Status = Sha256Init (HashCtx); in ValidateCryptDigest()
270 Status = Sha256Update (HashCtx, HashData, DataSize); in ValidateCryptDigest()
277 Status = Sha256Final (HashCtx, Digest); in ValidateCryptDigest()
283 FreePool (HashCtx); in ValidateCryptDigest()
312 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
315 Status = Sha384Init (HashCtx); in ValidateCryptDigest()
322 Status = Sha384Update (HashCtx, HashData, DataSize); in ValidateCryptDigest()
329 Status = Sha384Final (HashCtx, Digest); in ValidateCryptDigest()
335 FreePool (HashCtx); in ValidateCryptDigest()
364 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
367 Status = Sha512Init (HashCtx); in ValidateCryptDigest()
374 Status = Sha512Update (HashCtx, HashData, DataSize); in ValidateCryptDigest()
381 Status = Sha512Final (HashCtx, Digest); in ValidateCryptDigest()
387 FreePool (HashCtx); in ValidateCryptDigest()