Skip to content

Commit

Permalink
Update ecdsa.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliakot authored May 20, 2023
1 parent 33fcccc commit 44bc744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2-ecc/src/secp256k1/tests/ecdsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fn random_ecdsa_circuit(
let x_bigint = fe_to_biguint(x);
let r = biguint_to_fe::<Fq>(&(x_bigint % modulus::<Fq>()));
let s = k_inv * (msg_hash + (r * sk));

let start0 = start_timer!(|| format!("Witness generation for circuit in {stage:?} stage"));
ecdsa_test(builder.main(0), params, r, s, msg_hash, pubkey);

Expand Down

0 comments on commit 44bc744

Please sign in to comment.