mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +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]
|
||||
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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue