Falcon-1024
Compact NTRU-lattice signatures using fast Fourier sampling, the basis of FN-DSA
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 Falcon-1024
Falcon-1024 is one of 4 Falcon variants in the NextSSL registry, a digital signature scheme. It uses a 1,793-byte public key, a 2,305-byte secret key and a 1–1,462-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
Falcon is a lattice-based signature scheme notable for producing the smallest combined public key and signature among the NIST post-quantum selections. It was selected by NIST in 2022 and is being standardised as FN-DSA in FIPS 206.
Falcon instantiates the GPV hash-and-sign framework over NTRU lattices. The public key is h = g/f modulo q = 12289, where f and g are short polynomials; the secret key is a short basis of the corresponding lattice. To sign, the message is hashed to a point and the signer uses its trapdoor to find a nearby lattice vector by discrete Gaussian sampling, implemented with the fast Fourier sampling algorithm. The signature is the short difference vector, compressed.
Fast Fourier sampling needs high-precision floating-point arithmetic, which makes constant-time and side-channel-resistant implementation difficult, especially on embedded devices without a floating-point unit. Key generation is also intricate. In exchange, Falcon-512 has a 897-byte public key and signatures around 666 bytes, far smaller than ML-DSA. On processors with hardware floating point, signing is fast, and verification is among the fastest of any post-quantum signature.
Four variants are present: Falcon-512 (category 1) and Falcon-1024 (category 5), each with a compressed variable-length signature and a padded fixed-length form (falcon-padded-512 and falcon-padded-1024), which avoids leaking information through signature length. Falcon-1024 has a 1793-byte public key and signatures of about 1280 bytes. Key generation is slower than signing and is best done ahead of time. Signatures include a 40-byte random salt.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationFalcon published
69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisation26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen samples short f and g, solves the NTRU equation for F and G, and publishes h = g/f mod q.
- Sign hashes a salt and the message to a ring element.
- Using the secret basis, fast Fourier sampling finds a short vector close to the target.
- Verify checks that the signature vector is short and consistent with h and the hashed message.
Security notes
No practical attack is known against the scheme, but floating-point Gaussian sampling has been the target of timing and power side-channel attacks on real implementations. FN-DSA will differ in detail from Round 3 Falcon, so this family should be treated as the pre-standard version.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,793 | Public key |
| sk | 2,305 | Secret key |
| sig | 1 – 1,462 | 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", "falcon-1024", None, outs=2)
sig = root.call("sign_detached", "falcon-1024", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "falcon-1024", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("falcon-1024", NULL, pk, sk);
nextssl_root_sign_detached("falcon-1024", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("falcon-1024", 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, "falcon-1024", &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 Falcon variants
3Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Falcon-1024?
Falcon-1024 is a signature in the Falcon family. Falcon is a lattice-based signature scheme notable for producing the smallest combined public key and signature among the NIST post-quantum selections.
What are the Falcon-1024 sizes?
In NextSSL, Falcon-1024 uses: public key 1,793 bytes, signature 1 to 1,462 bytes.
Is Falcon-1024 post-quantum?
Yes. Falcon-1024 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Falcon-1024 and when?
Falcon-1024 belongs to the Falcon family, first published in 2017 by Pierre-Alain Fouque, Jeffrey Hoffstein, Paul Kirchner, Vadim Lyubashevsky, Thomas Pornin, Thomas Prest, Thomas Ricosset, Gregor Seiler, William Whyte, Zhenfei Zhang. Its origin: NIST PQC Round 3 selection, being standardised as FN-DSA (FIPS 206).
Is Falcon-1024 safe to use?
Falcon-1024 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 Falcon variants are there?
NextSSL also registers falcon-512, falcon-padded-1024, falcon-padded-512 in the Falcon family.
Related families
The NTRU lattice KEM in its HPS and HRSS forms, a NIST Round 3 finalist
FN-DSAFFT over NTRU-Lattice-Based Digital Signature Algorithm, the draft FIPS 206 form of Falcon
HAWKLattice signatures from the lattice isomorphism problem, a NIST Round 2 candidate
ML-DSANIST's primary post-quantum signature scheme, standardised in FIPS 204
SHAKEThe extendable-output functions of FIPS 202, producing any length of output from Keccak