Lines Matching refs:HmacCtx
86 VOID *HmacCtx; in ValidateCryptHmac() local
99 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
102 Status = HmacMd5Init (HmacCtx, HmacMd5Key, sizeof (HmacMd5Key)); in ValidateCryptHmac()
109 Status = HmacMd5Update (HmacCtx, HmacData, 8); in ValidateCryptHmac()
116 Status = HmacMd5Final (HmacCtx, Digest); in ValidateCryptHmac()
122 FreePool (HmacCtx); in ValidateCryptHmac()
139 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
142 Status = HmacSha1Init (HmacCtx, HmacSha1Key, sizeof (HmacSha1Key)); in ValidateCryptHmac()
149 Status = HmacSha1Update (HmacCtx, HmacData, 8); in ValidateCryptHmac()
156 Status = HmacSha1Final (HmacCtx, Digest); in ValidateCryptHmac()
162 FreePool (HmacCtx); in ValidateCryptHmac()
178 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
181 Status = HmacSha256Init (HmacCtx, HmacSha256Key, sizeof (HmacSha256Key)); in ValidateCryptHmac()
188 Status = HmacSha256Update (HmacCtx, HmacData, 8); in ValidateCryptHmac()
195 Status = HmacSha256Final (HmacCtx, Digest); in ValidateCryptHmac()
201 FreePool (HmacCtx); in ValidateCryptHmac()