#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

#320 in Cryptography

Download history 550286/week @ 2024-08-30 569092/week @ 2024-09-06 525453/week @ 2024-09-13 581808/week @ 2024-09-20 560559/week @ 2024-09-27 615728/week @ 2024-10-04 601520/week @ 2024-10-11 665364/week @ 2024-10-18 630897/week @ 2024-10-25 607058/week @ 2024-11-01 598692/week @ 2024-11-08 619961/week @ 2024-11-15 588449/week @ 2024-11-22 632578/week @ 2024-11-29 654693/week @ 2024-12-06 516341/week @ 2024-12-13

2,507,947 downloads per month
Used in 2,158 crates (102 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