Nccsign3
Dilithium-style lattice signatures over non-cyclotomic rings, from Korea's KpqC
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 Nccsign3
Nccsign3 is a digital signature scheme from the NCC-Sign family. It uses a 2,336-byte public key, a 3,552-byte secret key and a 1–3,872-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
NCC-Sign is a lattice-based signature scheme submitted to the Korean Post-Quantum Cryptography (KpqC) competition. It adapts the Fiat-Shamir with aborts approach of Dilithium to non-cyclotomic polynomial rings.
Dilithium works over the cyclotomic ring Z_q[X]/(X^256 + 1). NCC-Sign (Non-Cyclotomic Crystals Signature) instead uses non-cyclotomic polynomial rings, in the spirit of NTRU Prime, chosen to avoid the extra algebraic structure of power-of-two cyclotomics and to allow finer choices of ring degree and security level. Signing follows the familiar pattern of committing to a masked vector, hashing to a challenge and rejecting responses that could leak the secret.
NCC-Sign reached the second round of KpqC but was not among the final selections. Variants are provided for security levels 1, 3 and 5 (nccsign1, nccsign3, nccsign5), each with an AES version that uses AES in place of SHAKE for expanding public randomness. As with other Dilithium-style schemes, signing is a rejection-sampling loop, so implementations must ensure that the number of iterations and the rejected candidates do not leak through timing.
History
2022–2025NCC-Sign published
KpqC competition round 1 opens
Korean Post-Quantum Cryptography competition (KpqC)Round 2 candidates announced
Korean Post-Quantum Cryptography competition (KpqC)Winners announced: HAETAE and AIMer (signatures), SMAUG-T and NTRU+ (KEMs)
Korean Post-Quantum Cryptography competition (KpqC)
How it works
- KeyGen expands a public matrix and samples short secrets in a non-cyclotomic ring.
- Sign commits to a masked vector and hashes it with the message to a sparse challenge.
- Responses exceeding norm bounds are rejected and the loop restarts.
- Verify recomputes the commitment and checks the challenge hash and norm bounds.
Security notes
NCC-Sign was not selected in the KpqC final round and has had limited international cryptanalysis. Prefer ML-DSA for lattice signatures; treat NCC-Sign as a research scheme.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 2,336 | Public key |
| sk | 3,552 | Secret key |
| sig | 1 – 3,872 | Signature |
| seed | 0 | 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", "nccsign3", None, outs=2)
sig = root.call("sign_detached", "nccsign3", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "nccsign3", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("nccsign3", NULL, pk, sk);
nextssl_root_sign_detached("nccsign3", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("nccsign3", 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, "nccsign3", &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.
Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Nccsign3?
Nccsign3 is a signature in the NCC-Sign family. NCC-Sign is a lattice-based signature scheme submitted to the Korean Post-Quantum Cryptography (KpqC) competition.
What are the Nccsign3 sizes?
In NextSSL, Nccsign3 uses: public key 2,336 bytes, signature 1 to 3,872 bytes.
Is Nccsign3 post-quantum?
Yes. Nccsign3 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Nccsign3 and when?
Nccsign3 belongs to the NCC-Sign family, first published in 2022. Its origin: KpqC competition (Korea), Round 2 candidate.
Is Nccsign3 safe to use?
Nccsign3 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).
Related families
MPC-in-the-head signatures over the AIM one-way function, selected in Korea's KpqC
CRYSTALS-Dilithium (Round 3)The Round 3 submission of Dilithium, predecessor of the ML-DSA standard
ML-DSANIST's primary post-quantum signature scheme, standardised in FIPS 204
AES-CTRCounter mode: turns AES into a fast, parallel stream cipher