Digital signatures

FN-DSA-512

FFT over NTRU-Lattice-Based Digital Signature Algorithm, the draft FIPS 206 form of Falcon

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 FN-DSA-512

FN-DSA-512 is one of 2 FN-DSA variants in the NextSSL registry, a digital signature scheme. It uses an 897-byte public key, a 1,281-byte secret key, an 809-byte signature, a 48-byte seed and a 0–255-byte context string. Its registry entry cites FIPS 206 (draft). 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

FN-DSA is NIST's standardised form of the Falcon signature scheme, specified in draft FIPS 206. It offers the most compact lattice-based signatures among the NIST post-quantum standards.

FN-DSA keeps Falcon's design: a hash-and-sign construction over NTRU lattices in which the signer uses a secret short basis to sample a short lattice vector near the hashed message with fast Fourier sampling. Verification is simple integer arithmetic, while signing and key generation require careful floating-point computation. FN-DSA was the last of the four algorithms selected in 2022 to receive a draft FIPS, reflecting the extra care needed to specify its floating-point operations precisely.

The FIPS text adjusts the Round 3 specification for standard use, for example in encoding, domain separation and the handling of pre-hashed messages, so FN-DSA outputs are not expected to match Falcon Round 3 known-answer tests. Until the standard is final, details may still change. Implementers should track the final FIPS 206 publication and its test vectors before relying on byte-level compatibility.

Two parameter sets are present: FN-DSA-512, targeting category 1, and FN-DSA-1024, targeting category 5. Public keys are 897 and 1793 bytes, and signatures roughly 666 and 1280 bytes. These sizes make FN-DSA attractive for certificate chains, where several public keys and signatures are sent in every handshake, and for constrained links where multi-kilobyte ML-DSA signatures are costly. Verification is fast and uses only integer arithmetic.

History

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

    NIST Post-Quantum Cryptography standardisation
  2. Falcon submitted to NIST PQC

  3. 26 candidates advance to round 2

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

    NIST Post-Quantum Cryptography standardisation
  5. Falcon selected by NIST

  6. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published

    NIST Post-Quantum Cryptography standardisation
  7. FN-DSA draft standard (FIPS 206) in preparation

How it works

  1. KeyGen produces short NTRU polynomials f, g, F, G and the public key h = g/f mod 12289.
  2. Sign hashes a random salt and the message to a target point.
  3. Fast Fourier sampling with the secret basis yields a short vector near the target.
  4. Verify recomputes the target and checks that the signature is short.

Security notes

The standard is still in draft, so interoperability with the final FIPS 206 is not guaranteed. As with Falcon, constant-time floating-point Gaussian sampling is the main implementation hazard.

Typical uses

Compact post-quantum signatures in certificates and protocolsFirmware and update signing where bandwidth is limitedEarly adoption testing of FIPS 206

Sizes

FieldBytesMeaning
pk897Public key
sk1,281Secret key
sig809Signature
seed48Seed
ctx0 – 255Context 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", "fn-dsa-512", None, outs=2)
sig = root.call("sign_detached", "fn-dsa-512", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "fn-dsa-512", None, pk, b"message", b"", sig)

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Other FN-DSA variants

1

Frequently asked questions

What is FN-DSA-512?

FN-DSA-512 is a signature in the FN-DSA family. FN-DSA is NIST's standardised form of the Falcon signature scheme, specified in draft FIPS 206.

What are the FN-DSA-512 sizes?

In NextSSL, FN-DSA-512 uses: public key 897 bytes, signature 809 bytes.

Is FN-DSA-512 post-quantum?

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

Who designed FN-DSA-512 and when?

FN-DSA-512 belongs to the FN-DSA 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 standard in draft (FIPS 206).

Which standards define FN-DSA-512?

FN-DSA-512 is referenced by FIPS 206 (draft).

Is FN-DSA-512 safe to use?

FN-DSA-512 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 FN-DSA variants are there?

NextSSL also registers fn-dsa-1024 in the FN-DSA family.