Skip to content

Commit aa26b7a

Browse files
committed
optimizations
1 parent eae2ab4 commit aa26b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ G2Vec Filter::keygen(const FilterPP& pp, const FilterMsk& msk, const VecOrMat& y
8989
}, y);
9090

9191
// Raise the vector to g2 and return.
92-
return pp.pairing_group->Gp->g2_raise(FpVec{Fp(1), digest_sum});
92+
return pp.pairing_group->Gp->g2_raise(FpVec{beta, pp.pairing_group->Zp->mul(digest_sum, beta)});
9393
}
9494

9595
// Generate the hash of the input y vector.

0 commit comments

Comments
 (0)