Libecc-Ecrdsa-Gost512-Streebog512
GOST R 34.10-2012 elliptic-curve signature with Streebog hashing, classical and not post-quantum
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Libecc-Ecrdsa-Gost512-Streebog512
Libecc-Ecrdsa-Gost512-Streebog512 is one of 3 EC-RDSA (GOST R 34.10-2012, libecc) variants in the NextSSL registry, a digital signature scheme. It uses a 128-byte public key, a 64-byte secret key, a 128-byte signature and a 64-byte seed. Its registry entry cites GOST R 34.10-2012. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
EC-RDSA (GOST R 34.10-2012, libecc) is a classical elliptic-curve signature family with 3 curve and hash variants in NextSSL's record. It is not post-quantum and is included for comparison.
EC-RDSA (GOST R 34.10-2012, libecc) is the Russian GOST R 34.10-2012 elliptic-curve signature standard, using Streebog hashes. NextSSL's record groups 3 variants under this family, each pairing the mechanism with a curve and hash, for example gost2001-cryptopro-a-streebog256. 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 variants have public keys of 64 to 128 bytes and signatures from 64 to 128 bytes. Every listed variant uses a GOST curve with Streebog hashing, so the family is a single-standard set rather than a curve sweep. 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
2012–2012Specified in GOST R 34.10-2012
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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 128 | Public key |
| sk | 64 | Secret key |
| sig | 128 | Signature |
| seed | 64 | Seed |
| ctx | 0 | Context string |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
pk, sk = root.call("sign_keygen", "libecc-ecrdsa-gost512-streebog512", None, outs=2)
sig = root.call("sign_detached", "libecc-ecrdsa-gost512-streebog512", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "libecc-ecrdsa-gost512-streebog512", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("libecc-ecrdsa-gost512-streebog512", NULL, pk, sk);
nextssl_root_sign_detached("libecc-ecrdsa-gost512-streebog512", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("libecc-ecrdsa-gost512-streebog512", NULL, pk, msg, ctx, sig);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_sign_in(reg::all(), Policy::Any, "libecc-ecrdsa-gost512-streebog512", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let sig = alg.sign(&sk, b"message")?;
let ok = alg.verify(&pk, b"message", &sig)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other EC-RDSA (GOST R 34.10-2012, libecc) variants
2Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Libecc-Ecrdsa-Gost512-Streebog512?
Libecc-Ecrdsa-Gost512-Streebog512 is a signature in the EC-RDSA (GOST R 34.10-2012, libecc) family. EC-RDSA (GOST R 34.10-2012, libecc) is a classical elliptic-curve signature family with 3 curve and hash variants in NextSSL's record.
What are the Libecc-Ecrdsa-Gost512-Streebog512 sizes?
In NextSSL, Libecc-Ecrdsa-Gost512-Streebog512 uses: public key 128 bytes, signature 128 bytes.
Is Libecc-Ecrdsa-Gost512-Streebog512 post-quantum?
No. Libecc-Ecrdsa-Gost512-Streebog512 is a classical signature based on elliptic curves or discrete logarithms, which a large quantum computer running Shor's algorithm could break. For post-quantum use, look at ML-DSA or SLH-DSA.
Who designed Libecc-Ecrdsa-Gost512-Streebog512 and when?
Libecc-Ecrdsa-Gost512-Streebog512 belongs to the EC-RDSA (GOST R 34.10-2012, libecc) family, first published in 2012. Its origin: GOST R 34.10-2012 (Russia).
Which standards define Libecc-Ecrdsa-Gost512-Streebog512?
Libecc-Ecrdsa-Gost512-Streebog512 is referenced by GOST R 34.10-2012.
Is Libecc-Ecrdsa-Gost512-Streebog512 safe to use?
Libecc-Ecrdsa-Gost512-Streebog512 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other EC-RDSA (GOST R 34.10-2012, libecc) variants are there?
NextSSL also registers libecc-ecrdsa-gost2001-cryptopro-a-streebog256, libecc-ecrdsa-gost256-streebog256 in the EC-RDSA (GOST R 34.10-2012, libecc) family.
Related families
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