Commit graph

13 commits

Author SHA1 Message Date
Nazar Mokrynskyi
4cf8db2369
Support AVX512 on stable Rust (#913)
Fixes #758
2026-06-29 08:44:40 -06:00
Michael Rosenberg
1c14d54c60
curve: Bring back ff and group (#909)
* Revert "curve: Remove ff/group features for now (#907)"

This reverts commit 13ac5e66a7.

* Fix build

* Remove group-bits features for soundness concerns

* Update changelog
2026-06-13 16:13:18 -04:00
Michael Rosenberg
70e82aa855
Prep v5.0-rc.0 (#906)
* Bump versions for release

* Correct internal lizard docs

* Make changelogs more thorough
2026-05-28 21:46:01 +02:00
Michael Rosenberg
13ac5e66a7
curve: Remove ff/group features for now (#907) 2026-05-25 21:50:58 +02:00
Tony Arcieri
594808680c
ed25519-dalek: bump ed25519 crate dependency to v3.0.0 (#903)
* [WIP] ed25519-dalek: bump `ed25519` crate dependency to v3.0.0

This has two test failures:

    serialisation::serialize_deserialize_signature_json
    serialisation::serialize_signature_size

These are due to a last minute change to use `serdect` for implementing
`serde` support: RustCrypto/signatures#1324.

The signature size regression from `64` to `72` is a deliberate tradeoff
we've accepted in `serdect`. First note that this test is for now the
unmaintained `bincode` crate.

The core problem is that `serde` does not actually provide fixed-size
arrays as a type within its data model (serde-rs/serde#1937) and you're
instead left faking it using `SerializeTuple` and serializing it a
byte-at-a-time as a tuple. While this gives optimal-sized results on
`bincode`, it gives less-than-optimal results on e.g. `rmp-serde` where
the bytes each end up tagged with a type prefix.

`serde` does provide portable APIs for using optimal format-specific
byte encodings, but they carry an additional length prefix, which is
unnecessary and suboptimal for something fixed-width like an Ed25519
signature, but alas as noted earlier `serde` does not actually have
fixed-width arrays in its data model.

The second test failure occurs specifically because `serdect`
introspects the format and uses `base16ct` to perform hex serialization
for human readable formats. While this is a readability improvement for
these formats (and also makes them easier to implement in constant-time,
though it's not relevant here), the drawback is it currently requires
the `alloc` feature for such formats, which is a regression:

    Error("serializer is human readable, which requires the `alloc` crate feature", line: 0, column: 0)

Note that regardless these are both breaking changes to how `serde`
serialization is handled.

See also:
- RustCrypto/formats#1111
- RustCrypto/formats#1112
- dalek-cryptography/ed25519-dalek#140

* Migrate bincode -> postcard

* Bump `serdect` to v0.4.3

Includes `no_alloc` hex serialization support

---------

Co-authored-by: Michael Rosenberg <mrosenberg@cloudflare.com>
2026-05-03 22:26:26 -04:00
dependabot[bot]
28611ad16c
build(deps): bump rand from 0.9.2 to 0.9.4 (#896) 2026-05-03 19:42:34 -06:00
Arthur Gautier
3958e0ebf7
bump rustcrypto dependencies to released versions (#902)
This bumps `pkcs8`, `signature`, `spki`, `sha3`, and `der` to newly released versions.

This also bumps the version of `blake2`, `rustcrypto-ff`,
`rustcrypto-group`, and `ed25519` to their latest pre-released versions.
2026-05-02 15:06:44 -06:00
Michael Rosenberg
fc23dd4a86
ed: Unvendor STROBE (#895)
* Fix bench build

* Remove vendored strobe impl and use strobe-rs
2026-03-30 09:51:17 -04:00
Tony Arcieri
bad078de58
Bump cpufeatures to v0.3 (#894)
Release PR: RustCrypto/utils#1446
2026-03-29 17:55:42 -04:00
Tony Arcieri
53a86c7c9c
Bump digest and sha2 to v0.11 (#893)
Release PRs:
- `digest`: RustCrypto/traits#2300
- `sha2`: RustCrypto/hashes#806
2026-03-29 17:29:12 -04:00
Tony Arcieri
ddb8c6813a
ed25519-dalek: bump keccak dependency to v0.2 (#892)
This optional dependency is used by our vendored STROBE implementation
for batch verification.

Release PR: RustCrypto/sponges#117
2026-03-29 16:55:40 -04:00
Tony Arcieri
ea475248ae
curve,ed,x: Bump rand_core to v0.10; getrandom to v0.4 (#877)
Also bumps additional RustCrypto dependencies
2026-02-03 12:34:37 -05:00
Michael Rosenberg
59305b4e26
curve,ed: Update digest and sha2 deps (#875)
Co-authored-by: Michael Rosenberg <mrosenberg@cloudflare.com>
2026-02-02 16:39:43 -07:00