Increase number of trials for decaf elligator

This commit is contained in:
Henry de Valence 2017-05-18 17:36:12 -07:00
parent 66cbf19fef
commit b6cb7a7983

View file

@ -666,7 +666,7 @@ mod test {
#[test]
fn decaf_random_is_valid() {
let mut rng = OsRng::new().unwrap();
for _ in 0..100 {
for _ in 0..100_000 {
let P = DecafPoint::random(&mut rng);
// Check that P is on the curve
assert!(P.0.is_valid());