This commit is contained in:
Nicholas Ward 2023-03-21 16:13:59 -07:00
parent d59501e6a7
commit d928423c63
3 changed files with 6 additions and 6 deletions

View File

@ -400,7 +400,7 @@ impl<'a> Interpreter<'a> {
.contains(&self.generation_state.registers.program_counter)
{
// println!("At {}, stack={:?}", self.offset_name(), self.stack());
} else if let Some(label) = self.offset_label() {
} else if let Some(_label) = self.offset_label() {
// println!("At {label}");
}

View File

@ -282,7 +282,7 @@ fn test_modexp_bignum(b: BigUint, e: BigUint, m: BigUint, expected_output: BigUi
let scratch_3 = 7 * len; // size 2*len
let scratch_4 = 9 * len; // size 2*len
let scratch_5 = 11 * len; // size 2*len
let (new_memory, new_stack) = run_test(
let (new_memory, _new_stack) = run_test(
"modexp_bignum",
memory,
vec![
@ -478,7 +478,7 @@ fn test_modmul_bignum_all() -> Result<()> {
let output = a.clone() * b.clone() % m.clone();
test_modmul_bignum(a, b, m, output)?;
}
let a = max_bignum(bit_size);
let b = max_bignum(bit_size);
let m = max_bignum(bit_size);
@ -519,7 +519,7 @@ fn test_modexp_bignum_all() -> Result<()> {
dbg!(b.clone(), e.clone(), m.clone(), output.clone());
test_modexp_bignum(b, e, m, output)?;
}
let b = max_bignum(*bit_size);
let e = max_bignum(*exp_bit_size);
let m = max_bignum(*bit_size);
@ -546,4 +546,4 @@ fn test_modexp_bignum_all() -> Result<()> {
// }
Ok(())
}
}

View File

@ -153,7 +153,7 @@ impl<F: Field> GenerationState<F> {
let (remainder, quotient) =
self.bignum_modmul(len, a_start_loc, b_start_loc, m_start_loc);
dbg!(remainder.clone(), quotient.clone());
self.bignum_modmul_result_limbs = remainder