Has it been Pwned

How FN-DSA (Falcon) works

Falcon hashes a message to a target and finds a short pair of polynomials that lands exactly on that target. The public key lets anyone check the landing point and the length.

Program status. NIST selected Falcon for a signature standard. FIPS 206 remains in development at this review date. The mathematics here follows the published Falcon v1.2 submission. NIST program history

See what Anthropic’s lattice papers mean for FN-DSA (Falcon).

Why a short answer matters

An equation can have many valid answers, most of which are too large to qualify as signatures. Falcon exploits this gap. A lattice is the set of integer combinations of some basis vectors. The signer knows a particularly short basis for a structured lattice. Given a target, that basis lets the signer sample a nearby lattice point and report the small difference. The verifier needs only a public modular equation and a length limit to recognize an acceptable difference.

Different bases describe the same lattice. There is an important complication to the nearest-point picture. Always rounding in the directions of a secret basis could leave recognizable traces of those directions across signatures. Falcon instead samples with a prescribed discrete Gaussian distribution. Nearer points are generally more likely, and the distribution is designed to disclose very little about which short basis generated the samples.

A congruence and a length test

s₁ + h s₂ = c (mod q); ‖(s₁, s₂)‖² ≤ β²

The public polynomial is h. The hash target c comes from a nonce and the message. The signature determines s₂, and the verifier reconstructs centered coefficients for s₁. The squared norm sums squares of all coefficients in both polynomials. The parameter set fixes the bound β².

Arithmetic also reduces polynomials modulo Xⁿ + 1. The Falcon sets take n = 512 or 1024 and q = 12289. Key generation constructs small polynomials f and g, and complementary polynomials F and G satisfying the NTRU equation fG − gF = q. When f is invertible modulo q, the public multiplier is h = g/f in this quotient ring. These relations give a basis for pairs whose public combination is zero.

Worked example

With numbers modulo 17, take h = 5 and c = 12. The pair (2, 2) satisfies 2 + 5 × 2 = 12 and has squared length 8. The centered pair (−5, 0) also satisfies the congruence but has squared length 25. A bound of 9 would accept only the first of these two. Real verification sums hundreds or thousands of coefficient squares.

What travels with the message

  1. Generate

    Build the secret NTRU basis, perform the required quality checks and derive the public polynomial h. The short basis, or private inputs sufficient to reconstruct it, remains with the signer.

  2. Sign

    Generate a nonce and hash it with the message to obtain c. Sample a short preimage of c using the basis. Check its size and encode the nonce and the required component of the sampled pair.

  3. Verify

    Recover the other component using the public equation. Check the signature encoding and the norm bound for the selected parameter set. Both tests matter because the congruence by itself is easy to satisfy.

Sampling on a real device

ML-DSA masks a short secret and checks rejection bounds. Falcon uses a trapdoor basis and a sampler with different numerical and leakage requirements. Implementations need a justified precision budget, suitable randomness and protection of secret-dependent computations on the signing device. A laboratory observation of a sampler concerns the device and implementation tested. It can coexist with an intact public equation. A released Falcon profile also needs an explicit version since the submission described here precedes the final NIST standard.

Key decoding can leak before signing begins

A Cortex-M4 study of Falcon-1024 reports full key recovery after profiling and one power trace per tested key. The result concerns decoding the key at the start of signing. A hardware evaluation needs to cover this step as well as sampling and arithmetic.

Read the study and its scope →

EUROCRYPT proof for the revised Falcon design →

ASIACRYPT proof with quantum access to the modeled hash →

PKC estimates for strong unforgeability and revised Falcon-type parameters →

What the new quantum-model analysis can guarantee for FALCON →

Primary sources

Construction and program sources reviewed .