Digital signatures

Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256

GOST R 34.10-2012 elliptic-curve signature with Streebog hashing, classical and not post-quantum

unverified Root API only
Unverified tier.

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-Gost2001-Cryptopro-A-Streebog256

Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 is one of 3 EC-RDSA (GOST R 34.10-2012, libecc) variants in the NextSSL registry, a digital signature scheme. It uses a 64-byte public key, a 32-byte secret key, a 64-byte signature and a 32-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–2012
  1. Specified in GOST R 34.10-2012

How it works

  1. KeyGen picks a random secret scalar and publishes the matching elliptic-curve point as the public key.
  2. Sign derives a nonce, computes a curve point and combines it with the hash of the message to form the signature values.
  3. 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

Interoperability with GOST R 34.10-2012 profilesComparing classical elliptic-curve signature designs

Sizes

FieldBytesMeaning
pk64Public key
sk32Secret key
sig64Signature
seed32Seed
ctx0Context 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-gost2001-cryptopro-a-streebog256", None, outs=2)
sig = root.call("sign_detached", "libecc-ecrdsa-gost2001-cryptopro-a-streebog256", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "libecc-ecrdsa-gost2001-cryptopro-a-streebog256", None, pk, b"message", b"", 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

2

Frequently asked questions

What is Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256?

Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 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-Gost2001-Cryptopro-A-Streebog256 sizes?

In NextSSL, Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 uses: public key 64 bytes, signature 64 bytes.

Is Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 post-quantum?

No. Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 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-Gost2001-Cryptopro-A-Streebog256 and when?

Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 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-Gost2001-Cryptopro-A-Streebog256?

Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 is referenced by GOST R 34.10-2012.

Is Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 safe to use?

Libecc-Ecrdsa-Gost2001-Cryptopro-A-Streebog256 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-gost256-streebog256, libecc-ecrdsa-gost512-streebog512 in the EC-RDSA (GOST R 34.10-2012, libecc) family.