Commit Graph

407 Commits

Author SHA1 Message Date
dependabot[bot] 4591c43d4a build(deps): bump elliptic-curve from 0.10.3 to 0.10.4 (#328)
Bumps [elliptic-curve](https://github.com/RustCrypto/traits) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/RustCrypto/traits/releases)
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.3...elliptic-curve-v0.10.4)

---
updated-dependencies:
- dependency-name: elliptic-curve
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 07:08:51 -07:00
dependabot[bot] 0c3f483f84 build(deps): bump hex-literal from 0.3.1 to 0.3.2 (#327) 2021-07-02 14:15:20 +00:00
dependabot[bot] f529064519 build(deps): bump signature from 1.3.0 to 1.3.1 (#325)
Bumps [signature](https://github.com/RustCrypto/traits) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/RustCrypto/traits/releases)
- [Commits](https://github.com/RustCrypto/traits/compare/signature-v1.3.0...signature-v1.3.1)

---
updated-dependencies:
- dependency-name: signature
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 12:19:55 -06:00
Tony Arcieri 30fd323867 ed25519: ignore clippy nit for Signature::to_bytes() (#326)
This crate is 1.0 and fixing this nit would arguably be a breaking
change.

This commit ignores it and adds a TODO to fix it eventually.
2021-07-01 12:09:35 -06:00
Tony Arcieri 8099a9b184 ecdsa: bump elliptic-curve to v0.10.3 (#323) 2021-06-21 23:25:58 -07:00
Tony Arcieri de65b71a4d ecdsa v0.12.2 (#322) ecdsa/v0.12.2 2021-06-18 08:47:31 -07:00
dependabot[bot] c5d7452d20 build(deps): bump elliptic-curve from 0.10.1 to 0.10.2 (#320)
Bumps [elliptic-curve](https://github.com/RustCrypto/traits) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/RustCrypto/traits/releases)
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.1...elliptic-curve-v0.10.2)

---
updated-dependencies:
- dependency-name: elliptic-curve
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 07:32:06 -07:00
Bogdan Opanchuk 52948a2549 Add zeroization on drop for SigningKey (#321) 2021-06-18 06:54:38 -07:00
Tony Arcieri d33b42a84d ecdsa v0.12.1 (#319) ecdsa/v0.12.1 2021-06-09 15:40:08 -07:00
Tony Arcieri 10bff57331 ecdsa: add explicit Copy bounds on VerifyingKey (#318)
Analogous change to https://github.com/RustCrypto/traits/pull/667
2021-06-09 14:58:32 -07:00
Tony Arcieri 5715cfdd35 ecdsa v0.12.0 (#316) ecdsa/v0.12.0 2021-06-07 20:36:44 -07:00
Tony Arcieri 1e950806ea ecdsa: bump elliptic-curve crate dependency to v0.10 (#315)
Also bumps: `der` => v0.4
2021-06-07 20:22:54 -07:00
Tony Arcieri a0b6eaa3b5 ecdsa: fix dev module macros (#314)
They weren't updated to incorporate the changes from #313
2021-06-07 17:46:20 -07:00
Tony Arcieri f04abf3515 ecdsa: bump crypto-bigint to v0.2.0-pre (#313) 2021-06-07 17:36:39 -07:00
Tony Arcieri 66c3fe28c5 ecdsa: remove unnecessary bounds on AffinePoint/ProjectivePoint (#312)
These bounds are now captured by the `*Arithmetic` traits
2021-06-07 14:06:35 -07:00
Tony Arcieri 12479837ac ecdsa: clean up der::Signature -> Signature conversion (#311) 2021-06-07 10:39:03 -07:00
Tony Arcieri 8992091b54 ecdsa: remove unnecessary trait bounds on der::Signature (#310) 2021-06-07 10:25:26 -07:00
Tony Arcieri 44f49efbbd ecdsa: reject overlength ASN.1 DER encoded signature (#309) 2021-06-07 09:20:45 -07:00
Tony Arcieri 3e3469d10d ecdsa: fix typo (#308)
`bignum` -> `bigint`
2021-06-07 08:59:49 -07:00
Tony Arcieri cac7f97cae ecdsa: fix Wycheproof test generator macro (#307) 2021-06-07 08:37:22 -07:00
Tony Arcieri c2203f0b1c ecdsa: SigningKey init cleanup (#306) 2021-06-07 07:06:14 -07:00
Tony Arcieri 4dd50b67d8 ecdsa: fix ff imports in test gen macros (#305)
The `ff` crate is now re-exported as `elliptic_curve::group::ff`.
2021-06-06 10:26:17 -07:00
Tony Arcieri c7f2f4f798 ecdsa: bump version to v0.12.0-pre (#304)
Reflect that the code on master contains breaking changes
2021-06-06 09:04:01 -07:00
Tony Arcieri 3004490c96 ecdsa: remove PrimeField bounds; leverage ScalarArithmetic (#303)
The newly introduced ScalarArithmetic trait captures these bounds
automatically:

https://github.com/RustCrypto/traits/pull/654
2021-06-06 08:53:14 -07:00
Tony Arcieri 78ce5f5c02 ecdsa: bump elliptic-curve crate to v0.10.0-pre; MSRV 1.51+ (#302)
Sourced via git

Also includes bump to `der` crate v0.4.0-pre
2021-06-05 10:31:54 -07:00
dependabot[bot] 9b2aed6f86 build(deps): bump der from 0.3.4 to 0.3.5 (#301)
Bumps [der](https://github.com/RustCrypto/utils) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/der-v0.3.4...der-v0.3.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 06:34:35 -07:00
Tony Arcieri 610c0be2d6 ecdsa v0.11.1 (#300) ecdsa/v0.11.1 2021-05-24 17:48:58 -07:00
Tony Arcieri 8c6331c8fe ecdsa: use PartialOrd/Ord impls from elliptic-curve v0.9.12 (#299) 2021-05-18 17:41:28 -07:00
Tony Arcieri 98077f0e86 ecdsa: add Ord and PartialOrd impls on VerifyingKey (#298) 2021-05-18 17:05:26 -07:00
dependabot[bot] 7280885545 build(deps): bump serde from 1.0.125 to 1.0.126 (#296)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.125 to 1.0.126.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 06:55:57 -07:00
dependabot[bot] 27b759096b build(deps): bump der from 0.3.3 to 0.3.4 (#297)
Bumps [der](https://github.com/RustCrypto/utils) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/der-v0.3.3...der-v0.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 06:55:46 -07:00
dependabot[bot] 814b0aff80 build(deps): bump sha2 from 0.9.4 to 0.9.5 (#295)
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.4...sha2-v0.9.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 22:30:39 -07:00
dependabot[bot] 618d85329e build(deps): bump sha2 from 0.9.3 to 0.9.4 (#293)
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.3...sha2-v0.9.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 23:16:30 -07:00
Tony Arcieri 0b88295ec1 ed25519 v1.1.1 (#292) ed25519/v1.1.1 2021-04-30 10:26:41 -07:00
Tony Arcieri db0778d877 ed25519: updates for ring-compat v0.2.1 (#291)
`VerifyKey` was renamed to `VerifyingKey`
2021-04-30 10:16:55 -07:00
Tony Arcieri a9ee79b896 ed25519 v1.1.0 (#290) ed25519/v1.1.0 2021-04-30 08:36:03 -07:00
Tony Arcieri bcc1910672 ed25519: bump ring-compat to v0.2; MSRV 1.47+ (#289) 2021-04-30 08:27:18 -07:00
Tony Arcieri 17b78e9c73 ecdsa v0.11.0 (#288) ecdsa/v0.11.0 2021-04-29 12:34:06 -07:00
Tony Arcieri d246bcfa31 ecdsa: bump hmac crate dependency to v0.11 (#287) 2021-04-29 12:13:18 -07:00
dependabot[bot] a6d46fb3e0 build(deps): bump elliptic-curve from 0.9.10 to 0.9.11 (#286)
Bumps [elliptic-curve](https://github.com/RustCrypto/traits) from 0.9.10 to 0.9.11.
- [Release notes](https://github.com/RustCrypto/traits/releases)
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.9.10...elliptic-curve-v0.9.11)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 05:46:23 -07:00
Tony Arcieri 64841f3f30 ecdsa v0.11.0-pre.6 (#285) ecdsa/v0.11.0-pre.6 2021-04-21 15:32:27 -07:00
Tony Arcieri 66de13088a ecdsa: bump elliptic-curve to v0.9.10; use ScalarBytes (#284)
Bumps the `elliptic-curve` crate dependency to v0.9.10, and uses the
newly added `ScalarBytes` type to `impl TryFrom<&[u8]> for Signature<C>`
2021-04-21 15:14:49 -07:00
Tony Arcieri f1f0e57b05 ecdsa: fix digest+hazmat feature combo (#283)
Also CIs for `arithmetic`+`hazmat` and `digest`+`hazmat` feature combos
2021-04-21 12:35:23 -07:00
Tony Arcieri b11cfa335e ecdsa v0.11.0-pre.5 (#282) ecdsa/0.11.0-pre.5 2021-04-21 12:01:39 -07:00
Tony Arcieri 7f3aedd6ca ecdsa: replace CheckSignatureBytes with Order (#281)
Uses a generic implementation for checking that the scalars in a
signature are in range which doesn't require a curve arithmetic backend.
2021-04-21 11:30:29 -07:00
Tony Arcieri 89d4dee65d ecdsa: bound curve implementations on Order trait (#280)
The longer-term goal of this change is to eliminate the
`CheckSignatureBytes` trait by having a generic implementation which
uses the `Order::ORDER` constant.

For now, just ensure that the curve's order is defined.
2021-04-21 09:21:30 -07:00
dependabot[bot] 54edf5ed7c build(deps): bump der from 0.3.1 to 0.3.3 (#279)
Bumps [der](https://github.com/RustCrypto/utils) from 0.3.1 to 0.3.3.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/der-v0.3.1...der-v0.3.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-16 07:17:46 -07:00
dependabot[bot] 147e0a55ca build(deps): bump bincode from 1.3.2 to 1.3.3 (#278)
Bumps [bincode](https://github.com/servo/bincode) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/servo/bincode/releases)
- [Commits](https://github.com/servo/bincode/compare/v1.3.2...v1.3.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 08:00:19 -07:00
dependabot[bot] a21cfe7d1c build(deps): bump serde from 1.0.124 to 1.0.125 (#265)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-02 11:56:18 -07:00
Tony Arcieri a5418a56e7 ecdsa: use verifying_key name consistently (#273)
Previously this key type was named `VerifyKey` and was changed to
`VerifyingKey` for more consistency with `SigningKey`.

However, some usages of `verify_key` were not updated. This commit
updates those names to be consistent with the type name.
2021-04-02 11:47:16 -07:00