mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
* Replace recompute_R with a separate RCompute This struct can be use to implement verifiers with incremental updates * Add raw_sign_byupdate and raw_verify_byupdate These allow signing/verifying a non-prehashed message but don't require the whole message to be provided at once. * Tests for raw_sign_byupdate, raw_verify_byupdate * Add StreamVerifier * Make StreamVerifier use RCompute This allows it to use the same implementation as non-stream signature verification. * Guard StreamVerifier behind hazmat feature * docs: disambiguate unsafety Co-authored-by: Tony Arcieri <bascule@gmail.com> * chore: relax F bounds on raw_verify_byupdate * chore: remove raw_sign_byupdate and raw_verify_byupdate * chore: address clippy lints within new code * docs: fixup changelog * test: invert new chunked test * chore: revert raw_sign --------- Co-authored-by: Matt Johnston <matt@ucc.asn.au> Co-authored-by: Tony Arcieri <bascule@gmail.com>
2.1 KiB
2.1 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.
Unreleased
- Add
SigningKey::verify_stream(), andVerifyingKey::verify_stream()
2.x series
2.1.1
- Fix nightly SIMD build
2.1.0
- Add
SigningKey::to_scalar_bytesfor getting the unclamped scalar from a signing key - Loosened
signaturedependency to allow version 2.2
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 - curve25519 backends are now automatically selected
- curve25519 backends are now overridable via cfg instead of using additive features
- Make all batch verification deterministic remove
batch_deterministic(PR #256) - Rename
Keypair→SigningKeyandPublicKey→VerifyingKey - Remove default-public
ExpandedSecretKeyAPI (PR #205) - Make
hazmatfeature to exposeExpandedSecretKey,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