Elliptic Curve Digital Signature Algorithm (ECDSA) as specified in FIPS 186-4 (Digital Signature Standard)
This crate provides generic ECDSA support which can be used in the following ways:
- Generic implementation of ECDSA usable with the following crates:
- ECDSA signature types alone which can be used to provide interoperability
between other crates that provide an ECDSA implementation:
- 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 the
Signaturetype with the
Support for ECDSA signatures encoded as ASN.1 DER.
Low-level ECDSA primitives.
Support for computing deterministic ECDSA ephemeral scalar (
ECDSA signing key. Generic over elliptic curves.
ECDSA verification key (i.e. public key). Generic over elliptic curves.
Define ECDSA signing test
Define ECDSA verification test
SEC1 encoded curve point.
Elliptic curve secret keys.
ECDSA signatures (fixed-size).
Ensure a signature is well-formed.
Marker trait for elliptic curves in short Weierstrass form
Normalize a scalar (i.e. ECDSA S) to the lower half the field, as described in BIP 0062: Dealing with Malleability.
Fixed-size byte array containing an ECDSA signature
Size of a fixed sized signature for the given elliptic curve.