Skip to content

Commit

Permalink
buggy print
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang committed Dec 10, 2024
1 parent 36729e7 commit 438cc69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rsa_circuit/src/tests/u2048_mul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use expander_compiler::{
declare_circuit,
frontend::{BN254Config, Define, Variable, API},
};
use extra::DebugAPI;
use halo2curves::bn256::Fr;
use num_bigint::BigUint;
use num_traits::Num;
Expand All @@ -30,6 +31,8 @@ impl Define<BN254Config> for MulModCircuit<Variable> {
let modulus = U2048Variable::from_raw(self.modulus);
let two_to_120 = builder.constant(BN_TWO_TO_120);

builder.value_of(x.limbs[0]);

U2048Variable::assert_mul(&x, &y, &result, &carry, &modulus, &two_to_120, builder);
}
}
Expand Down

0 comments on commit 438cc69

Please sign in to comment.