Tony Arcieri
7ec5b90af9
Bump signature to v3.0.0-rc.4 ( #1069 )
2025-09-12 20:31:46 -06:00
daxpedda
923fe6f856
Update to signature::DigestSigner/Verifier changes ( #1064 )
...
Companion PR to RustCrypto/traits#2004
2025-09-12 20:13:18 -06:00
Tony Arcieri
2cd53cf4fb
ecdsa: bump elliptic-curve to v0.14.0-rc.14 ( #1068 )
2025-09-12 20:11:44 -06:00
Tony Arcieri
8599e52851
Bump crypto-bigint to v0.7.0-rc.5 ( #1067 )
...
* dsa: bump `crypto-bigint` to v0.7.0-rc.5
* ecdsa: rename `ScalarPrimitive` to `ScalarValue`
Companion PR to RustCrypto/traits#2008
2025-09-12 18:46:51 -06:00
Tony Arcieri
0812b94a8c
ecdsa: bump elliptic-curve to v0.14.0-rc.13 ( #1051 )
2025-09-02 22:02:10 -06:00
Arthur Gautier
cc2cac3a2f
bump crypto-bigint to v0.7.0-rc.4 ( #1050 )
2025-09-02 21:01:30 -06:00
Tony Arcieri
137ec7935c
Bump hybrid-array to v0.4 ( #1047 )
2025-09-01 20:24:14 -06:00
Tony Arcieri
41edbafeca
ecdsa: bump elliptic-curve to v0.14.0-rc.12 ( #1034 )
2025-08-05 21:30:21 -06:00
Tony Arcieri
e6d52c2ae0
Bump crypto-bigint to v0.7.0-pre.7 ( #1022 )
2025-07-19 11:12:41 -06:00
Tony Arcieri
53361b03cd
dsa+ecdsa: bump dependencies ( #1010 )
...
Bumps the following:
- crypto-bigint v0.7.0-pre.6
- der v0.8.0-rc.6
- elliptic-curve v0.14.0-rc.8
- pkcs8 v0.11.0-rc.5
- sec1 v0.8.0-rc.6
- spki v0.8.0-rc.3
2025-07-03 14:56:32 -06:00
Tony Arcieri
6cc40e5c10
der error handling fixups (#1005 )
...
Companion PR to RustCrypto/formats#1889
2025-06-21 21:36:45 -06:00
Tony Arcieri
76050fbe41
ecdsa: bump elliptic-curve to v0.14.0-rc.7 ( #999 )
2025-06-16 12:25:42 -06:00
Tony Arcieri
6cbef4f168
dsa: handle NonZero/Odd conversions on BoxedUint internally ( #998 )
...
Makes `BoxedUint` the one unsigned integer type in the public API,
converting to `NonZero<BoxedUint>` and `Odd<BoxedUint>` as needed.
This makes the API simpler to use for end-users, with fewer types for
them to manage.
Closes #987
2025-06-16 12:02:57 -06:00
Tony Arcieri
cda011a535
ed448: drop -signature suffix from crate name ( #990 )
...
Crate name is now just `ed448`, like the Ed448 variant of EdDSA.
The elliptic curve's name is Ed448-Goldilocks (or "edwards448")
2025-06-06 07:30:32 -06:00
Tony Arcieri
6e3caccf2e
Bump crypto-bigint to v0.7.0-pre.4 ( #976 )
2025-05-30 18:46:39 -06:00
Tony Arcieri
26b2889438
Bump digest dependency to v0.11.0-rc.0 ( #973 )
...
Also bumps:
- `elliptic-curve` v0.14.0-rc.2
- `signature` v3.0.0-rc.0
2025-05-29 10:16:43 -06:00
Arthur Gautier
132a6b1b38
chore(deps): bump digest git pin ( #971 )
2025-05-27 12:13:58 -06:00
Arthur Gautier
6f17b32120
bump crypto-bigint to master, use core naming conventions ( #963 )
2025-05-13 16:48:33 -06:00
Arthur Gautier
0dd5dbc3e8
chore(deps): bump crypto-bigint to 0.7.0-pre.2 ( #953 )
2025-05-03 07:38:37 -06:00
Arthur Gautier
8f770af1a2
dsa: migrate to crypto-bigint ( #906 )
...
Closes #779
2025-04-23 11:30:26 -06:00
Arthur Gautier
8e6bb26c26
ecdsa: use blanket impl from signature 3 ( #945 )
...
- Renames `DigestPrimitive` to `DigestAlgorithm`
- `DigestAlgorithm` now exported from crate root instead of `hazmat`
2025-04-23 10:58:24 -06:00
Arthur Gautier
a83c494216
chore(deps): bump signature from 2.3.0-pre.6 to 2.3.0-pre.7 ( #943 )
2025-04-21 16:48:12 -06:00
Arthur Gautier
34cd7792c2
bump ff and group to pre-releases ( #940 )
2025-04-18 08:21:48 -06:00
Tony Arcieri
aef671ad40
Revert "downgrade ml-dsa and slh-dsa to non-prerelease deps ( #931 )" ( #935 )
...
This reverts commit 64b55c6393 .
This was done to kick out some releases, which have now been published,
so these crates are going back to using the latest development releases.
2025-04-10 09:18:48 +09:00
Friedel Ziegelmayer
64b55c6393
downgrade ml-dsa and slh-dsa to non-prerelease deps ( #931 )
2025-04-10 08:48:45 +09:00
Arthur Gautier
449d748349
ecdsa: provide a SigningKey::try_from_rng ( #915 )
2025-03-09 12:08:59 -06:00
Arthur Gautier
06b9cc91f2
remove git dependency on hashes and hmac ( #923 )
2025-03-09 11:08:12 -06:00
Arthur Gautier
0e69f92b56
Upgrade all crates to the 2024 edition and bump MSRV to 1.85 ( #913 )
2025-02-28 20:12:00 -05:00
Tony Arcieri
bd3d94ce61
ml-dsa: bump rand_core to v0.9 ( #899 )
2025-02-13 12:54:14 -07:00
Arthur Gautier
4aead4b464
workspace: limit duplicate dependencies ( #871 )
...
This makes use of a global `patch.crates-io` instead of local `path =`
attributes in the dependencies.
When pulling dependencies through git to try unreleased crates, the
dependency in `path` will get duplicated. Which makes for twice the
definition of types incompatible with each other.
2024-10-15 11:01:58 -06:00
Arthur Gautier
839cbdabfe
bump pkcs8 dependency after breaking change ( #857 )
...
This bump the following dependencies:
- pkcs8 0.11.0-rc.0 -> 0.11.0-rc.1
- elliptic-curve 0.14.0-pre.6 -> 0.14.0-rc.0
This is a followup on breaking changes made on pkcs8
(https://github.com/RustCrypto/formats/pull/1483 ).
2024-09-06 11:48:53 -06:00
Arthur Gautier
25e14015c9
workspace: move back to traits.git/master ( #856 )
...
Now https://github.com/RustCrypto/traits/pull/1650 merged the branch
has been removed.
2024-09-05 17:35:19 -06:00
Arthur Gautier
cf81fb325c
ecdsa,dsa,ed25519,ed448: pkcs8 API changes ( #851 )
...
Signed-off-by: Arthur Gautier <baloo@superbaloo.net >
2024-09-05 16:00:43 -06:00
Tony Arcieri
0247d63bde
Use new prerelease/release candidate dependencies ( #836 )
...
Bumps the following:
- `der` v0.8.0-rc.0
- `digest` v0.11.0-pre.9
- `elliptic-curve` v0.14.0-pre.6
- `pkcs8` v0.11.0-rc.0
- `sha2` v0.11.0-pre.4
- `signature` v2.3.0-pre.4
- `spki` v0.8.0-rc.0
2024-07-26 18:56:22 -06:00
Tony Arcieri
62419f8b10
ml-dsa: initial crate boilerplate ( #830 )
2024-07-10 20:10:32 -06:00
Tjaden Hess
3697688721
slh-dsa: initial implementation ( #812 )
2024-04-13 08:21:36 -06:00
Will Song
3e4e1aa270
lms: import into RustCrypto/signatures ( #801 )
...
Leighton-Micali Hash-Based Signatures
Co-authored-by: Tjaden Hess <tjade273@gmail.com >
2024-03-06 12:30:50 -07:00
turbocool3r
31838b9dcd
dsa+ecdsa: support der custom error types ( #809 )
...
Goes with this `formats` PR: RustCrypto/formats#1055
2024-03-03 11:26:29 -07:00
Tony Arcieri
a2c44242be
Bump digest, elliptic-curve, and signature ( #802 )
...
Bumps the following dependencies:
- `digest` v0.11.0-pre.8
- `elliptic-curve` v0.14.0-pre.4
- `signature` v2.3.0-pre.3
2024-02-01 16:55:55 -07:00
Tony Arcieri
2b4e0cc8c7
Bump hybrid-array to v0.2.0-rc.3 ( #800 )
2024-01-28 19:18:48 -07:00
ashWhiteHat
d9c304cf91
ed448: Ed448 Implementation ( #727 )
2023-10-15 12:47:41 -06:00
Dmitry Baryshkov
9de47b676e
ecdsa: follow the DynAssociatedAlgorithmIdentifier changes ( #695 )
...
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
2023-04-04 18:08:25 -06:00
Tony Arcieri
56dd91a963
ecdsa: add RFC5758 OID support ( #686 )
...
Adds support for obtaining the RFC5758 OIDs associated with the digest
algorithm used with the `Signer` and `Verifier` traits, i.e. the digest
defined via `DigestPrimitive::Digest` for a given curve.
The ECDSA OID is available via an `AssociatedOid` impl on `Signature`.
The `AlgorithmIdentifier` is also available via the newly added
`AssociatedAlgorithmIdentifier` trait.
2023-04-02 16:13:16 -06:00
Tony Arcieri
dd4c4c02ff
ecdsa: bump elliptic-curve dependency to v0.13.0-pre.5 ( #654 )
2023-02-03 10:52:02 -07:00
Tony Arcieri
82776dc4cc
ecdsa: add Invert bound ( #653 )
...
Previously this was handled by a blanket impl for `ff::Field`
2023-02-03 08:56:10 -07:00
Tony Arcieri
6028260f29
ecdsa: use Scalar::invert_vartime for verification ( #651 )
...
Variable-time inversions can be faster than constant-time inversions and
are fine in the context of verification.
2023-02-03 07:25:18 -07:00
Tony Arcieri
4e2b0b2cfc
ecdsa: use AffineCoordinates trait ( #650 )
...
Switches to the newly consolidated `AffineCoordinates` trait.
See RustCrypto/traits#1237
2023-02-01 09:57:42 -07:00
Tony Arcieri
f7b37fa972
ecdsa: bump elliptic-curve dependency to v0.13.0-pre.2 ( #645 )
2023-01-31 11:19:40 -07:00
Tony Arcieri
1dc9dd45e1
ecdsa: use Reduce::reduce_bytes ( #643 )
...
Uses the newly (re)introduced method for reducing an input with
serialized bytes to perform modular reductions on `FieldBytes`.
See: https://github.com/RustCrypto/traits/pull/1229
2023-01-30 21:21:19 -07:00
Tony Arcieri
17663bd4f5
ecdsa: bump elliptic-curve to v0.13.0-pre.1 ( #640 )
...
Bumps the `elliptic-curve` crate to the latest prerelease on crates.io.
Notably this includes changes to how `FieldBytes` is encoded made with
the goal of supporting elliptic curves with unusual moduli such as P-224
and P-521:
https://github.com/RustCrypto/traits/pull/1220
2023-01-28 19:48:06 -07:00