Digital signatures

Gemss256v2

Hidden-field multivariate signature at the 256-bit level with a 32-byte signature

unverified Root API only Post-quantum
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 Gemss256v2

Gemss256v2 is a digital signature scheme from the GeMSS-256 (v2) family. It uses a 72,238-byte public key, a 16-byte secret key and a 1–32-byte signature. It is designed to resist attacks by large quantum computers. 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

GeMSS-256 (v2) is a GeMSS parameter record in the v2 submission at the 256-bit level. It gives a 72238-byte public key and 32-byte signatures in NextSSL's record.

GeMSS-256 (v2) belongs to the GeMSS family of multivariate signatures, which is built on the hidden field equations with vinegar (HFEv-) structure. The secret is a compact trapdoor that lets the signer invert a public system of quadratic equations on a hashed message. The 256-bit label marks the security level the submission targets.

NextSSL's record gives a 72238-byte public key, a 16-byte private key and signatures of up to 32 bytes for gemss256v2. These sizes are identical for all nine GeMSS, BlueGeMSS and RedGeMSS records in the file, so the record does not separate the families by size and the upstream submission should be checked for the parameter differences.

The GeMSS family has a very large public key and a very short signature, which is the defining trade-off of hidden-field multivariate schemes. The record is unverified, and the design has been the subject of attacks on related HFE parameter choices, so treat the entries as research records. Set against MAYO or MQDSS in this file, GeMSS reverses the usual balance: its signature is far shorter while its public key is far larger.

History

2016–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. GeMSS-256 published by Casanova, Faugere, Macario-Rat, Patarin, Perret and Ryckeghem

  3. 69 complete round-1 submissions published

    NIST Post-Quantum Cryptography standardisation
  4. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  5. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  6. Kyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens

    NIST Post-Quantum Cryptography standardisation
  7. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published

    NIST Post-Quantum Cryptography standardisation
  8. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen builds a secret hidden-field equation system with vinegar variables and publishes a public set of quadratic equations.
  2. Sign hashes the message to a target vector and solves the public system using the trapdoor.
  3. Verify evaluates the public quadratic equations on the short signature and checks them against the hashed message.

Security notes

HFE-style parameters have been attacked in the literature, and the v2 record is unverified. Public keys are very large, so use the entries for research only.

Typical uses

Research into hidden-field multivariate signaturesComparisons with other multivariate candidates such as MAYO

Sizes

FieldBytesMeaning
pk72,238Public key
sk16Secret key
sig1 – 32Signature
seed0Seed
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", "gemss256v2", None, outs=2)
sig = root.call("sign_detached", "gemss256v2", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "gemss256v2", 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 Gemss256v2?

Gemss256v2 is a signature in the GeMSS-256 (v2) family. GeMSS-256 (v2) is a GeMSS parameter record in the v2 submission at the 256-bit level.

What are the Gemss256v2 sizes?

In NextSSL, Gemss256v2 uses: public key 72,238 bytes, signature 1 to 32 bytes.

Is Gemss256v2 post-quantum?

Yes. Gemss256v2 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed Gemss256v2 and when?

Gemss256v2 belongs to the GeMSS-256 (v2) family, first published in 2017 by Casanova, Faugere, Macario-Rat, Patarin, Perret and Ryckeghem. Its origin: NIST PQC standardisation, round 2 submission.

Is Gemss256v2 safe to use?

Gemss256v2 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).