Libecc-Ecosdsa-Gost512-Streebog512
ISO/IEC 14888-3 EC-OSDSA over Brainpool, SEC and GOST curves, 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-Ecosdsa-Gost512-Streebog512
Libecc-Ecosdsa-Gost512-Streebog512 is one of 13 EC-OSDSA (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 ISO/IEC 14888-3 (EC-OSDSA). 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-OSDSA (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.
EC-OSDSA (libecc) is an elliptic-curve signature mechanism from the ISO/IEC 14888-3 family. 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 ISO/IEC 14888-3. 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.
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-ecosdsa-gost512-streebog512", None, outs=2)
sig = root.call("sign_detached", "libecc-ecosdsa-gost512-streebog512", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "libecc-ecosdsa-gost512-streebog512", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("libecc-ecosdsa-gost512-streebog512", NULL, pk, sk);
nextssl_root_sign_detached("libecc-ecosdsa-gost512-streebog512", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("libecc-ecosdsa-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-ecosdsa-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-OSDSA (libecc) variants
12Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Libecc-Ecosdsa-Gost512-Streebog512?
Libecc-Ecosdsa-Gost512-Streebog512 is a signature in the EC-OSDSA (libecc) family. EC-OSDSA (libecc) is a classical elliptic-curve signature family with 13 curve and hash variants in NextSSL's record.
What are the Libecc-Ecosdsa-Gost512-Streebog512 sizes?
In NextSSL, Libecc-Ecosdsa-Gost512-Streebog512 uses: public key 128 bytes, signature 128 bytes.
Is Libecc-Ecosdsa-Gost512-Streebog512 post-quantum?
No. Libecc-Ecosdsa-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.
Which standards define Libecc-Ecosdsa-Gost512-Streebog512?
Libecc-Ecosdsa-Gost512-Streebog512 is referenced by ISO/IEC 14888-3 (EC-OSDSA).
Is Libecc-Ecosdsa-Gost512-Streebog512 safe to use?
Libecc-Ecosdsa-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-OSDSA (libecc) variants are there?
NextSSL also registers libecc-ecosdsa-brainpoolp256r1-sha256, libecc-ecosdsa-brainpoolp320r1-sha384, libecc-ecosdsa-brainpoolp384r1-sha384, libecc-ecosdsa-brainpoolp512r1-sha512, libecc-ecosdsa-frp256v1-sha256, libecc-ecosdsa-gost2001-cryptopro-a-streebog256 and more in the EC-OSDSA (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