mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 00:33:06 +00:00
fmt
This commit is contained in:
parent
cb23bfcade
commit
6d84b988ba
@ -56,6 +56,7 @@ e_zero_return:
|
||||
MUL // logical and
|
||||
%jumpi(b_and_e_zero)
|
||||
|
||||
// End of special cases.
|
||||
|
||||
// We store the repeated-squares accumulator x_i in scratch_1, starting with x_0 := b.
|
||||
DUP1
|
||||
|
||||
@ -299,7 +299,10 @@ fn test_modexp_bignum(b: BigUint, e: BigUint, m: BigUint, expected_output: BigUi
|
||||
scratch_5.into(),
|
||||
],
|
||||
)?;
|
||||
new_memory.resize(new_memory.len().max(output_start_loc + output_len), 0.into());
|
||||
new_memory.resize(
|
||||
new_memory.len().max(output_start_loc + output_len),
|
||||
0.into(),
|
||||
);
|
||||
|
||||
let output = mem_vec_to_biguint(&new_memory[output_start_loc..output_start_loc + output_len]);
|
||||
assert_eq!(output, expected_output);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user