This commit is contained in:
Pratyush Mishra
2020-12-09 11:02:52 -08:00
parent a1ce3291dd
commit 4e45f92ca9
4 changed files with 13 additions and 70 deletions

View File

@@ -57,8 +57,8 @@ fn test_bilinearity() {
let b: G2Projective = rng.gen();
let s: Fr = rng.gen();
let sa = a.mul(s);
let sb = b.mul(s);
let sa = a.mul(s.into_repr());
let sb = b.mul(s.into_repr());
let ans1 = BW6_761::pairing(sa, b);
let ans2 = BW6_761::pairing(a, sb);