We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829328e commit 61f6839Copy full SHA for 61f6839
elliptic-curve/src/scalar/nonzero.rs
@@ -52,7 +52,6 @@ where
52
// While this method isn't constant-time, the attacker shouldn't learn
53
// anything about unrelated outputs so long as `rng` is a secure `CryptoRng`.
54
loop {
55
- // TODO: remove after `Field::random` switches to `&mut impl RngCore`
56
if let Some(result) = Self::new(Field::random(rng)).into() {
57
break result;
58
}
@@ -65,7 +64,6 @@ where
65
64
66
67
68
69
if let Some(result) = Self::new(Scalar::<C>::try_from_rng(rng)?).into() {
70
break Ok(result);
71
0 commit comments