libsnark icon indicating copy to clipboard operation
libsnark copied to clipboard

pairing code asserts on points at infinity

Open ebfull opened this issue 8 years ago • 0 comments

(bn128 again) If you attempt e(P, Q) where P or Q are points at infinity, an internal assumption (during the miller loop if I remember correctly) that the points are in the affine is violated, causing an assertion later. We should expect the pairing to return Fp12::one().

ebfull avatar Dec 28 '16 05:12 ebfull