mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-07 20:50:39 +00:00
Increase number of trials for decaf elligator
This commit is contained in:
parent
66cbf19fef
commit
b6cb7a7983
1 changed files with 1 additions and 1 deletions
|
|
@ -666,7 +666,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 {
|
for _ in 0..100_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