From 58982cbc2b4c171c0f983e728fb21355da499a85 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Sat, 20 May 2017 20:16:11 -0700 Subject: [PATCH] Lower the trial number in decaf_random The radix_51 implementation has many more debug checks, so this takes quite long to run, and it's rude to run a fuzzer on the CI server. --- src/decaf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decaf.rs b/src/decaf.rs index 3ef2d7d..4b8e688 100644 --- a/src/decaf.rs +++ b/src/decaf.rs @@ -789,7 +789,7 @@ mod test { #[test] fn decaf_random_is_valid() { let mut rng = OsRng::new().unwrap(); - for _ in 0..10_000 { + for _ in 0..100 { let P = DecafPoint::random(&mut rng); // Check that P is on the curve assert!(P.0.is_valid());