curve25519-dalek-source/ed25519-dalek/tests
Rob Ede 6dc7a1c7c5
Verify by digest update + StreamVerifier (#735)
* 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>
2025-06-02 18:30:57 -04:00
..
examples Workspace ed25519 under ed25519-dalek 2023-06-27 04:04:09 +00:00
ed25519.rs Verify by digest update + StreamVerifier (#735) 2025-06-02 18:30:57 -04:00
pkcs8.rs Implement DynSignatureAlgorithmIdentifier trait for ed25519 (#712) 2024-10-07 18:01:13 -06:00
validation_criteria.rs chore: typo fix (#608) 2023-12-13 08:10:05 -07:00
x25519.rs ed: Add back SigningKey::to_scalar_bytes (#599) 2023-11-14 13:23:48 -05:00