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 c42a2ef commit 33fcccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions halo2-ecc/src/secp256k1/tests/ecdsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +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 33fcccc

Please sign in to comment.