Digital signatures

Libecc-Ecfsdsa-Gost256-Streebog256

ISO/IEC 14888-3 elliptic-curve signature on Brainpool, SEC and GOST curves, 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-Ecfsdsa-Gost256-Streebog256

Libecc-Ecfsdsa-Gost256-Streebog256 is one of 13 EC-FSDSA (libecc) variants in the NextSSL registry, a digital signature scheme. It uses a 64-byte public key, a 32-byte secret key, a 96-byte signature and a 32-byte seed. Its registry entry cites ISO/IEC 14888-3 (EC-FSDSA). 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-FSDSA (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-FSDSA (libecc) is an elliptic-curve signature mechanism from the ISO/IEC 14888-3 family of discrete logarithm signatures. 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 96 to 192 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

  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 ISO/IEC 14888-3 profilesComparing classical elliptic-curve signature designs

Sizes

FieldBytesMeaning
pk64Public key
sk32Secret key
sig96Signature
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-ecfsdsa-gost256-streebog256", None, outs=2)
sig = root.call("sign_detached", "libecc-ecfsdsa-gost256-streebog256", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "libecc-ecfsdsa-gost256-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.

Frequently asked questions

What is Libecc-Ecfsdsa-Gost256-Streebog256?

Libecc-Ecfsdsa-Gost256-Streebog256 is a signature in the EC-FSDSA (libecc) family. EC-FSDSA (libecc) is a classical elliptic-curve signature family with 13 curve and hash variants in NextSSL's record.

What are the Libecc-Ecfsdsa-Gost256-Streebog256 sizes?

In NextSSL, Libecc-Ecfsdsa-Gost256-Streebog256 uses: public key 64 bytes, signature 96 bytes.

Is Libecc-Ecfsdsa-Gost256-Streebog256 post-quantum?

No. Libecc-Ecfsdsa-Gost256-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.

Which standards define Libecc-Ecfsdsa-Gost256-Streebog256?

Libecc-Ecfsdsa-Gost256-Streebog256 is referenced by ISO/IEC 14888-3 (EC-FSDSA).

Is Libecc-Ecfsdsa-Gost256-Streebog256 safe to use?

Libecc-Ecfsdsa-Gost256-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-FSDSA (libecc) variants are there?

NextSSL also registers libecc-ecfsdsa-brainpoolp256r1-sha256, libecc-ecfsdsa-brainpoolp320r1-sha384, libecc-ecfsdsa-brainpoolp384r1-sha384, libecc-ecfsdsa-brainpoolp512r1-sha512, libecc-ecfsdsa-frp256v1-sha256, libecc-ecfsdsa-gost2001-cryptopro-a-streebog256 and more in the EC-FSDSA (libecc) family.