mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-05 20:10:35 +00:00
* Added raw_sign() and raw_sign_prehashed() functions * Renamed `nonce` to `hash_prefix` in signing because it's really not a nonce * Moved raw signing to hazmat module * impl From<EdwardsPoint> for VerifyingKey * Brought back ExpandedSecretKey; made raw_* functions take it as input * Added remaining features to docs.rs feature set * Removed redundant ExpandedSecretKey def; made raw signing use a generic CtxDigest * Implemented raw_verify with generic CtxDigest * Implemented raw_verify_prehashed with generic MsgDigest and CtxDigest * Wrote hazmat tests; fixed errors; switched ordering of MsgDigest and CtxDigest * Updated changelog * ExpandedSecretKey::from_bytes takes an array and is now infallible * Add TODO comment for split_array_ref * Added from_slice and TryFrom<&[u8]> for ExpandedSecretKey --------- Co-authored-by: Tony Arcieri <bascule@gmail.com>
1.7 KiB
1.7 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Entries are listed in reverse chronological order per undeprecated major series.
2.x series
2.0.0
Breaking changes
- Bump MSRV from 1.41 to 1.60.0
- Bump Rust edition
- Bump
signaturedependency to 2.0 - Make
digestan optional dependency - Make
zeroizean optional dependency - Make
rand_corean optional dependency - Adopt curve25519-backend selection over features
- Make all batch verification deterministic remove
batch_deterministic(#256) - Remove
ExpandedSecretKeyAPI ((#205)[https://github.com/dalek-cryptography/ed25519-dalek/pull/205]) - Rename
Keypair→SigningKeyandPublicKey→VerifyingKey - Make
hazmatfeature to expose,ExpandedSecretKey,raw_sign(),raw_sign_prehashed(),raw_verify(), andraw_verify_prehashed()
Other changes
- Add
Contexttype for prehashed signing - Add
VerifyingKey::{verify_prehash_strict, is_weak} - Add
pkcsfeature to support PKCS #8 (de)serialization ofSigningKeyandVerifyingKey - Add
fastfeature to include basepoint tables - Add tests for validation criteria
- Impl
DigestSigner/DigestVerifierforSigningKey/VerifyingKey, respectively - Impl
HashforVerifyingKey - Impl
Clone,Drop, andZeroizeOnDropforSigningKey - Remove
randdependency - Improve key deserialization diagnostics