Files
RustCrypto-signatures/ecdsa
David Drysdale 7b37895503 Extra ASN.1 validity checks (#192)
* ecdsa: add test for too-short ASN1 signatures

* ecdsa: check minimum ASN.1-encoded signature length

* ecdsa: add test for non-DER ASN1 signature

This is a minimal test that's equivalent to:
https://github.com/google/wycheproof/blob/2196000605e4/testvectors/ecdsa_secp256k1_sha256_test.json#L57-L66

* ecdsa: reject non-minimal SEQUENCE length as non-DER
2020-10-20 05:34:27 -07:00
..
2020-10-20 05:34:27 -07:00
2020-10-09 08:25:54 -07:00
2020-10-09 08:25:54 -07:00

RustCrypto: ECDSA

crate Docs Apache2/MIT licensed MSRV Project Chat Build Status

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.

Minimum Supported Rust Version

  • Rust 1.44+

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.