diff --git a/frost-core/CHANGELOG.md b/frost-core/CHANGELOG.md index 801d450a..ebff51b8 100644 --- a/frost-core/CHANGELOG.md +++ b/frost-core/CHANGELOG.md @@ -4,6 +4,8 @@ Entries are listed in reverse chronological order. ## Unreleased +* Exposed the `SigningKey::from_scalar()` and `to_scalar()` methods. This + helps interoperability with other implementations. ## Released diff --git a/frost-core/src/signing_key.rs b/frost-core/src/signing_key.rs index 6d165835..26d812f2 100644 --- a/frost-core/src/signing_key.rs +++ b/frost-core/src/signing_key.rs @@ -58,7 +58,6 @@ where } /// Creates a SigningKey from a scalar. - #[cfg(feature = "internals")] pub fn from_scalar( scalar: <<::Group as Group>::Field as Field>::Scalar, ) -> Self { @@ -66,7 +65,6 @@ where } /// Return the underlying scalar. - #[cfg(feature = "internals")] pub fn to_scalar(self) -> <<::Group as Group>::Field as Field>::Scalar { self.scalar }