Skip to content

Commit

Permalink
test: increase key_gen_ecdsa_p256 rounds
Browse files Browse the repository at this point in the history
This number of iterations includes the first generated key that happens to have a leading zero byte in its secret MPI.
  • Loading branch information
hko-s committed Mar 2, 2024
1 parent e6d0a38 commit f7fd18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composed/key/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ mod tests {
#[test]
fn key_gen_ecdsa_p256() {
let rng = &mut ChaCha8Rng::seed_from_u64(0);
for _ in 0..100 {
for _ in 0..=175 {
gen_ecdsa(rng, ECCCurve::P256);
}
}
Expand Down

0 comments on commit f7fd18d

Please sign in to comment.