mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-05 20:10:35 +00:00
Set the number of trials back to 10,000
This commit is contained in:
parent
fbd8d0a605
commit
714bf3dd07
1 changed files with 1 additions and 1 deletions
|
|
@ -671,7 +671,7 @@ mod test {
|
||||||
#[test]
|
#[test]
|
||||||
fn decaf_random_is_valid() {
|
fn decaf_random_is_valid() {
|
||||||
let mut rng = OsRng::new().unwrap();
|
let mut rng = OsRng::new().unwrap();
|
||||||
for _ in 0..100_000 {
|
for _ in 0..10_000 {
|
||||||
let P = DecafPoint::random(&mut rng);
|
let P = DecafPoint::random(&mut rng);
|
||||||
// Check that P is on the curve
|
// Check that P is on the curve
|
||||||
assert!(P.0.is_valid());
|
assert!(P.0.is_valid());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue