curve25519-dalek-source/src
Henry de Valence 9a623868c5 Revert #219.
See discussion at https://github.com/dalek-cryptography/curve25519-dalek/issues/232 , copied below:

`1.1` changed the trait bounds for `RistrettoPoint::random` and `Scalar::random`, see #222 and #219.

These changes have two benefits:
* they unlink us from the `rand` crate and make us depend only on `rand_core`;
* they allow passing both owned and borrowed RNGs.

The change was not supposed to be a breaking change, since the new bounds are strictly more general than the old ones (as every `RngCore` is an `Rng` and every `&mut RngCore` is an `RngCore`), so the new bound is satisfied in every situation where the old bound applied.

The `1.1.0-pre.0` version didn't cause problems on the crates I tested it on, but there was an unexpected problem: ce71c93a9a/spacesuit/src/value.rs (L160-L161) broke, since it took a borrow as input and used it twice. So there was slight breakage.

One option is to revert the changes (probably just the ones from #219) and release 1.1.3; another would be to fix up `slingshot` and leave the new bound.
2019-02-15 13:30:05 -08:00
..
backend Attempt to fix cfg(rustdoc) on docs.rs 2019-02-15 11:18:25 -08:00
constants.rs Restructure source tree into serial and vector backends. 2019-01-18 01:49:40 -08:00
edwards.rs Merge pull request #230 from hdevalence/updated-precomputation 2019-02-14 12:18:29 -08:00
field.rs Merge pull request #227 from isislovecruft/fix/weird-pub 2019-01-24 14:12:10 -08:00
lib.rs Merge branch 'rand_core' of git://github.com/newpavlov/curve25519-dalek into newpavlov-rand_core 2019-02-14 14:29:58 -08:00
macros.rs Update year in copyright notices to 2018. 2018-07-05 00:30:27 +00:00
montgomery.rs replace rand with rand_core+rand_os 2019-01-05 14:27:24 +03:00
prelude.rs Unify alloc and std cargo features 2018-07-23 10:50:21 -07:00
ristretto.rs Revert #219. 2019-02-15 13:30:05 -08:00
scalar.rs Revert #219. 2019-02-15 13:30:05 -08:00
traits.rs Remove constant-time multiscalar precomputation. 2019-02-13 12:26:31 -08:00
window.rs Restructure source tree into serial and vector backends. 2019-01-18 01:49:40 -08:00