#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

#353 in Cryptography

Download history 488889/week @ 2024-07-15 535305/week @ 2024-07-22 525232/week @ 2024-07-29 534714/week @ 2024-08-05 545123/week @ 2024-08-12 533676/week @ 2024-08-19 562014/week @ 2024-08-26 560257/week @ 2024-09-02 556912/week @ 2024-09-09 533439/week @ 2024-09-16 570366/week @ 2024-09-23 572462/week @ 2024-09-30 612009/week @ 2024-10-07 623057/week @ 2024-10-14 660155/week @ 2024-10-21 611728/week @ 2024-10-28

2,535,402 downloads per month
Used in 2,009 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