From 742bf6033e2b289064fab6c141add8f2bbc314c7 Mon Sep 17 00:00:00 2001 From: Michael Rosenberg Date: Mon, 27 Mar 2023 05:26:53 -0400 Subject: [PATCH] Clarify changelog items --- CHANGELOG.md | 3 ++- README.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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`