Skip to content

Commit 36f33d7

Browse files
committed
updated comment
1 parent 3bb848b commit 36f33d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

g16ckt/src/gadgets/bn254/pairing.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,9 @@ pub fn ell_coeffs_montgomery<C: CircuitContext>(
554554

555555
let (new_r, _) = add_in_place_montgomery(circuit, &r, &q3);
556556

557-
// https://github.com/BitVM/BitVM/issues/191#issuecomment-2596825624
557+
// Cheap subgroup check approach:
558+
// https://eprint.iacr.org/2022/348.pdf Section 3.1.2 Remark 2
559+
// `ark_bn254::Config::ATE_LOOP_COUNT` is `6z + 2` mentioned in the remark.
558560
let is_in_sg = {
559561
let z0 = new_r.z.c0();
560562

0 commit comments

Comments
 (0)