DECDSA (libecc)
Deterministic ECDSA over several Brainpool, SEC and GOST curves, classical and not post-quantum
Overview
DECDSA (libecc) is a classical elliptic-curve signature family with 13 curve and hash variants in NextSSL's record. It is not post-quantum and is included for comparison.
DECDSA (libecc) is a deterministic ECDSA mechanism that derives each per-signature nonce from the secret key and message, as RFC 6979 describes. NextSSL's record groups 13 variants under this family, each pairing the mechanism with a curve and hash, for example brainpoolp256r1-sha256. The curve and hash are the two axes the variant names encode, so the family is best read as a grid of curve and hash choices.
The listed Brainpool variants have public keys of 64 to 128 bytes and signatures from 64 to 128 bytes, with sizes rising with the curve. The other 9 variants in the record cover SEC, GOST and French FRP curves. Standards referenced are RFC 6979. Sizes follow the field length, so the 256-bit curves give the shortest keys and signatures in each family.
This family is classical elliptic-curve cryptography. A large quantum computer running Shor's algorithm would break the discrete logarithm problem it relies on, so these entries are not post-quantum. They are kept for comparison and for interoperability with the named standards, and the record is unverified. Teams that need only one curve should use the matching variant rather than the whole family.
History
2013–2013Specified in RFC 6979
How it works
- KeyGen picks a random secret scalar and publishes the matching elliptic-curve point as the public key.
- Sign derives a nonce, computes a curve point and combines it with the hash of the message to form the signature values.
- Verify recomputes the curve point from the signature and public key and checks the result against the hashed message.
Security notes
The mechanism is classical and broken by a large quantum computer. The record is unverified, and the curve choice is the main security parameter.
Typical uses
Variants in NextSSL
13| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Libecc-Decdsa-Brainpoolp256r1-SHA-256 libecc-decdsa-brainpoolp256r1-sha256 |
unverified | pk 64 · sk 32 · sig 64 · seed 32 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Brainpoolp320r1-SHA-384 libecc-decdsa-brainpoolp320r1-sha384 |
unverified | pk 80 · sk 40 · sig 80 · seed 40 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Brainpoolp384r1-SHA-384 libecc-decdsa-brainpoolp384r1-sha384 |
unverified | pk 96 · sk 48 · sig 96 · seed 48 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Brainpoolp512r1-SHA-512 libecc-decdsa-brainpoolp512r1-sha512 |
unverified | pk 128 · sk 64 · sig 128 · seed 64 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Frp256v1-SHA-256 libecc-decdsa-frp256v1-sha256 |
unverified | pk 64 · sk 32 · sig 64 · seed 32 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Gost2001-Cryptopro-A-Streebog256 libecc-decdsa-gost2001-cryptopro-a-streebog256 |
unverified | pk 64 · sk 32 · sig 64 · seed 32 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Gost256-Streebog256 libecc-decdsa-gost256-streebog256 |
unverified | pk 64 · sk 32 · sig 64 · seed 32 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Gost512-Streebog512 libecc-decdsa-gost512-streebog512 |
unverified | pk 128 · sk 64 · sig 128 · seed 64 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Secp224r1-SHA-256 libecc-decdsa-secp224r1-sha256 |
unverified | pk 56 · sk 28 · sig 56 · seed 28 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-secp256k1-SHA-256 libecc-decdsa-secp256k1-sha256 |
unverified | pk 64 · sk 32 · sig 64 · seed 32 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Secp256r1-SHA-256 libecc-decdsa-secp256r1-sha256 |
unverified | pk 64 · sk 32 · sig 64 · seed 32 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Secp384r1-SHA-384 libecc-decdsa-secp384r1-sha384 |
unverified | pk 96 · sk 48 · sig 96 · seed 48 · ctx 0 | RFC 6979 | root |
| Libecc-Decdsa-Secp521r1-SHA-512 libecc-decdsa-secp521r1-sha512 |
unverified | pk 132 · sk 66 · sig 132 · seed 66 · ctx 0 | RFC 6979 | root |
Frequently asked questions
What is DECDSA (libecc)?
It is a deterministic ECDSA mechanism that derives each per-signature nonce from the secret key and message, as RFC 6979 describes, implemented as a family of curve and hash variants.
Is DECDSA (libecc) post-quantum?
No. It depends on elliptic-curve discrete logarithms, which a large quantum computer could solve.
How big are decdsa keys and signatures?
For the listed variants, public keys are 64 to 128 bytes and signatures 64 to 128 bytes.
Which DECDSA (libecc) variants does NextSSL include?
NextSSL registers 13 DECDSA (libecc) variants: libecc-decdsa-brainpoolp256r1-sha256, libecc-decdsa-brainpoolp320r1-sha384, libecc-decdsa-brainpoolp384r1-sha384, libecc-decdsa-brainpoolp512r1-sha512, libecc-decdsa-frp256v1-sha256, libecc-decdsa-gost2001-cryptopro-a-streebog256, libecc-decdsa-gost256-streebog256, libecc-decdsa-gost512-streebog512, libecc-decdsa-secp224r1-sha256, libecc-decdsa-secp256k1-sha256 and more.
Families with similar names
Other digital signatures
All 503Related
Elliptic Curve Digital Signature Algorithm on NIST curves and secp256k1
EC-GDSA (libecc)German-origin EC-GDSA over Brainpool, SEC and GOST curves, classical and not post-quantum
EC-SDSA (libecc)ISO/IEC 14888-3 EC-SDSA over Brainpool, SEC and GOST curves, not post-quantum
Ed448-GoldilocksClassical EdDSA signatures on the Goldilocks curve, standardised in RFC 8032 and not post-quantum
EdDSADeterministic Edwards-curve signatures: Ed25519 and Ed448