diff --git a/CHANGELOG.md b/CHANGELOG.md index eefd63986..234c31094 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,8 @@ major series. whenever using `EdwardsBasepointTable` or `RistrettoBasepointTable` * `Scalar::from_canonical_bytes` now returns `CtOption` * `Scalar::is_canonical` now returns `Choice` -* Remove `Scalar::from_bits` and `Scalar::from_bits_clamped` +* Gate `Scalar::from_bits` behind the `legacy_compatibility` feature +* Remove `Scalar::from_bits_clamped` #### Other changes diff --git a/README.md b/README.md index 0cc6164b2..788e10795 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,8 @@ latest breaking changes are below: * Replace methods `Scalar::{zero, one}` with constants `Scalar::{ZERO, ONE}` * `Scalar::from_canonical_bytes` now returns `CtOption` * `Scalar::is_canonical` now returns `Choice` -* Remove `Scalar::from_bits` and `Scalar::from_bits_clamped` +* Gate `Scalar::from_bits` behind the `legacy_compatibility` feature +* Remove `Scalar::from_bits_clamped` * Deprecate `EdwardsPoint::hash_from_bytes` and rename it `EdwardsPoint::nonspec_map_to_curve` * Require including a new trait, `use curve25519_dalek::traits::BasepointTable`