Home | History | Annotate | Download | only in DxeImageVerificationLib

Lines Matching refs:HashCtx

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);
596 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
606 Status = mHash[HashAlg].HashFinal(HashCtx, mImageDigest);
609 if (HashCtx != NULL) {
610 FreePool (HashCtx);
867 VOID *HashCtx;
877 HashCtx = NULL;
914 HashCtx = AllocatePool (mHash[HashAlg].GetContextSize ());
915 if (HashCtx == NULL) {
918 Status = mHash[HashAlg].HashInit (HashCtx);
922 Status = mHash[HashAlg].HashUpdate (HashCtx, TBSCert, TBSCertSize);
926 Status = mHash[HashAlg].HashFinal (HashCtx, CertDigest);
959 if (HashCtx != NULL) {
960 FreePool (HashCtx);