mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
Actually use the transcript PRNG.
This commit is contained in:
parent
85a218ac40
commit
bd6a897729
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ pub fn verify_batch(
|
|||
// Select a random 128-bit scalar for each signature.
|
||||
let zs: Vec<Scalar> = signatures
|
||||
.iter()
|
||||
.map(|_| Scalar::from(thread_rng().gen::<u128>()))
|
||||
.map(|_| Scalar::from(prng.gen::<u128>()))
|
||||
.collect();
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue