#elliptic-curve #signature #nist

no-std ecdsa

Pure Rust implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA) as specified in FIPS 186-4 (Digital Signature Standard), providing RFC6979 deterministic signatures as well as support for added entropy

62 releases

0.17.0-pre.9 Sep 20, 2024
0.17.0-pre.7 Jul 27, 2024
0.17.0-pre.5 Feb 2, 2024
0.16.9 Nov 16, 2023
0.0.0 Oct 30, 2018

#271 in Cryptography

Download history 531311/week @ 2024-08-01 544497/week @ 2024-08-08 535714/week @ 2024-08-15 544254/week @ 2024-08-22 541406/week @ 2024-08-29 580422/week @ 2024-09-05 554858/week @ 2024-09-12 541535/week @ 2024-09-19 572310/week @ 2024-09-26 603084/week @ 2024-10-03 598238/week @ 2024-10-10 663298/week @ 2024-10-17 638472/week @ 2024-10-24 604599/week @ 2024-10-31 602742/week @ 2024-11-07 500651/week @ 2024-11-14

2,469,987 downloads per month
Used in 2,043 crates (101 directly)

Apache-2.0 OR MIT

115KB
2.5K SLoC

RustCrypto: ECDSA

crate Docs Build Status Apache2/MIT licensed MSRV Project Chat

Elliptic Curve Digital Signature Algorithm (ECDSA) as specified in FIPS 186-4 (Digital Signature Standard).

Documentation

About

This crate provides generic ECDSA support which can be used in the following ways:

  • Generic implementation of ECDSA usable with the following crates:
  • Other crates which provide their own complete implementations of ECDSA can also leverage the types from this crate to export ECDSA functionality in a generic, interoperable way by leveraging ecdsa::Signature with the signature::Signer and signature::Verifier traits.

⚠️ Security Warning

The ECDSA implementation contained in this crate has never been independently audited for security!

This crate contains a generic implementation of ECDSA which must be instantiated using a separate crate providing a concrete implementation of arithmetic for a particular curve. It's possible timing variability can exist in concrete curve implementations, and thus this crate's security can only be properly assessed for a specific elliptic curve.

USE AT YOUR OWN RISK!

Minimum Supported Rust Version

This crate requires Rust 1.73 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2.5MB
~57K SLoC