New plan for FN-DSA

5,156 views
Skip to first unread message

Perlner, Ray A. (Fed)

unread,
Sep 28, 2026, 9:27:17 AMSep 28
to pqc-forum

Hi all,

 

In light of recent work on implementing Falcon (In particular the recent fixed-point implementation published at Crypto https://eprint.iacr.org/2026/1531 and Thomas Pornin’s RAM optimized implementation https://eprint.iacr.org/2026/1915 announced on the PQC forum) we think it’s a good idea to update our plan for specifying FN-DSA in draft FIPS 206. In particular we hope to work together with the Falcon team to produce a draft (and eventually a final version) of FIPS 206 that:

 

  • Specifies a single version of the signing procedure for FN-DSA in sufficient detail so that implementations can be validated by exactly matching them to Known Answer Tests (KATs). Other implementation methods which could be guaranteed to produce the same KATs would generally be allowed. (We don’t think it will be necessary for key generation to exactly match KATs, since for that we can use a validation approach along the lines of https://eprint.iacr.org/2026/954.)
  • Specifies the use of fixed-point arithmetic in both key generation and signing. Our initial plan would be to use a 32.32 fixed-point format for key generation (as in https://eprint.iacr.org/2023/290 and https://eprint.iacr.org/2025/1239.pdf) and a 64.64 fixed-point format for signing (as described in https://eprint.iacr.org/2026/1531 – Note that, assuming we take the recommendations regarding key generation from that paper, a 32.64 fixed-point format should yield equivalent KATs, which would make that format acceptable as well – we just consider 64.64 easier to specify).
  • Gives NIST the option to allow additional, compatible but not mathematically equivalent implementations of FN-DSA’s signing procedure in future Special Publications (SPs.) For example, we may use these options to specify techniques from https://eprint.iacr.org/2026/1915 or https://eprint.iacr.org/2026/1531 that entail more changes to Falcon/FN-DSA, as represented by the Falcon submission documents and our internal working draft, than we’d like to consider on a (hopefully) short timeline.  We’d expect any future additional NIST-approved version of FN-DSA signing to be compatible with the version of key generation and verification specified in FIPS 206. We’d also expect each new version to be validated by exactly matching its own set of KATs, and to be domain separated from other versions. It should be noted that some techniques which we might consider later, like  https://eprint.iacr.org/2026/1531 ‘s “Type-2” fixed-point (64-bit, variable radix) format, require extra checks to be done during key generation. Planning ahead, we therefore plan to make sure that FIPS 206 specifies a key generation procedure that does the checks necessary for any implementation techniques which seem like attractive candidates for later inclusion, even if they aren’t needed for the version of the signing procedure we specify in the FIPS.

 

To this end, we are seeking feedback from the community on whether this seems like a good plan.

 

Thanks,

 

Ray Perlner  (on behalf of the NIST FIPS 206 team)

 

Hugo Vincent

unread,
Sep 28, 2026, 9:45:34 AMSep 28
to Perlner, Ray A. (Fed), pqc-forum
Hi Ray,

This is great news.

Regarding your second bullet point, 

> Specifies the use of fixed-point arithmetic in both key generation and signing.

will this be the only arithmetic specified, or do you intend to specify this in addition to the previously described floating-point version? I assume exclusively fixed-point based on the wider context, but would like clarity.

Thanks,
Hugo


--
You received this message because you are subscribed to the Google Groups "pqc-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+...@list.nist.gov.
To view this discussion visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/BY5PR09MB48523967F1E46EF62FF547409C8D2%40BY5PR09MB4852.namprd09.prod.outlook.com.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Perlner, Ray A. (Fed)

unread,
Sep 28, 2026, 10:03:10 AMSep 28
to Hugo Vincent, pqc-forum

Yes. The plan is for the FIPS to only allow the fixed-point types described in my last email.

 

That said, given the way we plan to validate key generation, it would be fairly easy to revise the plan to allow floating point in KeyGen (but not in signing.)

 

Best,

Ray

Deirdre Connolly

unread,
Sep 28, 2026, 11:01:42 AMSep 28
to Perlner, Ray A. (Fed), pqc-forum
This is great!

--

Bas Westerbaan

unread,
Sep 28, 2026, 11:11:51 AMSep 28
to Perlner, Ray A. (Fed), pqc-forum
This is a great plan.

--

John Mattsson

unread,
Sep 28, 2026, 11:44:43 AMSep 28
to pqc-forum
Hi,

Agree with Deirdre and Bas, this is great!

Ericsson welcomes the plan to allow only fixed-point types for both key generation and signing. Given that the new techniques would likely delay the publication of FIPS 206 and that there are use cases where signing time is not critical, I think the split between FIPS 206 and subsequent SPs makes sense.

Ray Perlner  (on behalf of the NIST FIPS 206 team) wrote:
>We’d expect any future additional NIST-approved version of FN-DSA signing to be compatible with the version of key generation and verification specified in FIPS 206. We’d also expect each new version to be validated by exactly matching its own set of KATs, and to be domain separated from other versions.

Will it be possible to use a single public key with several different signing procedures? If not, when does one have to commit to a single signing procedure, at key generation or at the first signing operation? This is relevant for long-lived authentication keys, which are often generated years before they are first used.

Cheers,
John Preuß Mattsson

From: 'Bas Westerbaan' via pqc-forum <pqc-...@list.nist.gov>
Date: Monday, 28 September 2026 at 17:12
To: Perlner, Ray A. (Fed) <ray.p...@nist.gov>

Filippo Valsorda

unread,
Sep 28, 2026, 12:02:02 PMSep 28
to pqc-...@list.nist.gov
This sounds great, and makes me a bit less concerned about implementing FIPS 206.

In particular, I am a big fan of key generation restrictions that simplify (present or future) signing and verification implementations. RSA could have used a lot of that, were it specified this decade.

Perlner, Ray A. (Fed)

unread,
Sep 28, 2026, 3:30:59 PMSep 28
to John Mattsson, Bas Westerbaan, pqc-forum

Hello John Preuß Mattsson,

 

In response to your question whether it will be possible to use a single public key with several different signing procedure: it is our intention that, if we allow multiple versions of the signing procedure, it will be permissible to use all allowed variants of signing with the same keypair. That said, we currently have approved 0 versions of the signing procedure, and our expectation is that after FIPS 206 is published, exactly 1 version will be approved. So the hypothetical future state where we will have approved multiple versions is still far off, and much can change before then.

 

Best,

Ray

 

 

From: John Mattsson <john.m...@ericsson.com>
Sent: Monday, September 28, 2026 11:43 AM
To: Bas Westerbaan <b...@cloudflare.com>; Perlner, Ray A. (Fed) <ray.p...@nist.gov>
Cc: pqc-forum <pqc-...@list.nist.gov>
Subject: [EXTERNAL] Re: [pqc-forum] New plan for FN-DSA

 

Hi,

 

Agree with Deirdre and Bas, this is great!

 

Ericsson welcomes the plan to allow only fixed-point types for both key generation and signing. Given that the new techniques would likely delay the publication of FIPS 206 and that there are use cases where signing time is not critical, I think the split between FIPS 206 and subsequent SPs makes sense.

 

Ray Perlner  (on behalf of the NIST FIPS 206 team) wrote:

>We’d expect any future additional NIST-approved version of FN-DSA signing to be compatible with the version of key generation and verification specified in FIPS 206. We’d also expect each new version to be validated by exactly matching its own set of KATs, and to be domain separated from other versions.

 

Will it be possible to use a single public key with several different signing procedures? If not, when does one have to commit to a single signing procedure, at key generation or at the first signing operation? This is relevant for long-lived authentication keys, which are often generated years before they are first used.

 

Cheers,

John Preuß Mattsson

 

From: 'Bas Westerbaan' via pqc-forum <pqc-...@list.nist.gov>
Date: Monday, 28 September 2026 at 17:12
To: Perlner, Ray A. (Fed) <ray.p...@nist.gov>
Cc: pqc-forum <pqc-...@list.nist.gov>
Subject: Re: [pqc-forum] New plan for FN-DSA

conner webber

unread,
Sep 28, 2026, 8:03:16 PMSep 28
to Perlner, Ray A. (Fed), John Mattsson, Bas Westerbaan, pqc-forum

  Hi Ray, all,

  One validation consideration for the proposed exact-match KAT approach: randomly generated end-to-end signing KATs only catch a sampler deviation if a vector happens to exercise it. In the Falcon
  implementation I examined, the ApproxExp precision defect changed a BerExp accept/reject decision only about once per 2³³ samples—roughly once per 8 billion—while still reproducing the official Falcon KATs.

  I published targeted boundary vectors for that failure mode:
  https://github.com/spartan8806/falcon-sampler-kat

  Would the FIPS 206 team consider component-level BerExp/ApproxExp vectors alongside the end-to-end signing KATs? For a fixed-point specification, targeted boundary inputs seem like an inexpensive way to
  ensure validation exercises these precision-sensitive decisions.

  Best,
  Conner


Perlner, Ray A. (Fed)

unread,
Sep 29, 2026, 11:02:32 AMSep 29
to conner webber, John Mattsson, Bas Westerbaan, pqc-forum

Hi Conner,

 

Yes. We would consider component level KAT testing for FIPS 206. We already have plans to do something similar with FIPS 207 (HQC), where the draft FIPS will encourage implementations to make the RMRS decoder available for testing.

 

Are there any components other than BerExp/ApproxExp that you (or anyone else on the forum) think would need component-level KAT testing to catch implementation errors?

 

Thanks,

Ray

 

 

From: conner webber <conner.w...@gmail.com>

Sent: Monday, September 28, 2026 8:03 PM
To: Perlner, Ray A. (Fed) <ray.p...@nist.gov>

Cc: John Mattsson <john.m...@ericsson.com>; Bas Westerbaan <b...@cloudflare.com>; pqc-forum <pqc-...@list.nist.gov>
Subject: Re: [EXTERNAL] Re: [pqc-forum] New plan for FN-DSA

 

You don't often get email from conner.w...@gmail.com. Learn why this is important

Sophie Schmieg

unread,
Sep 29, 2026, 11:24:47 AMSep 29
to Perlner, Ray A. (Fed), conner webber, John Mattsson, Bas Westerbaan, pqc-forum
this is amazing, thanks



--

Sophie Schmieg |
 Information Security Engineer | ISE Crypto | ssch...@google.com

conner webber

unread,
Sep 29, 2026, 7:21:49 PMSep 29
to Perlner, Ray A. (Fed), John Mattsson, Bas Westerbaan, pqc-forum
 Hi Ray,

  Yes. Based on implementation failures I have examined, I would prioritize three additional component boundaries.

  First, the ffSampling center path into SamplerZ. The falcon-rust regression showed that ApproxExp could be widened while the Gaussian center still carried only 32 fractional bits. BerExp and ApproxExp tests
  can therefore pass after precision has already been lost upstream. Selected recursion and leaf checkpoint vectors should cover narrowing conversions and boundary values. Since valid implementations may use
  different internal representations, specified error intervals or invariants may be preferable to requiring identical internal traces.

  Second, BaseSampler/RCDT and its integration into SamplerZ. This portion is integer based and can support exact vectors. I would include uniform inputs immediately below, at, and above RCDT thresholds, along
  with cases exercising sign selection, center rounding, and scaling. Targeted threshold vectors seem more valuable here than additional randomly generated end-to-end cases.

  Third, LDL-tree leaf normalization. This includes ffLDL_binary_normalize during expanded-key construction and the corresponding deepest-level computation during dynamic signing. Vectors should cover
  operational extremes and rounding boundaries in the mapping from each leaf value to the standard deviation used by the sampler. Small or input-selective errors here may still produce valid signatures while
  biasing their distribution.

  Separately, verifier-negative vectors around the squared-norm rejection boundary and accumulator-overflow conditions would be valuable, although I would treat those as verification tests rather than fixed-
  point signing KATs.

  The practical reason for component tests is that an ApproxExp implementation with relative numerical error of approximately 2^-33 changes a particular BerExp decision only when the random threshold falls
  within the resulting narrow interval. We estimate that this occurs on the order of once per 2^33 BerExp calls. In our live control, an intentionally degraded build produced bit-identical signatures in all 10
  trials.

  Falcon’s Table 3.2 SamplerZ vectors also passed on falcon-rust v0.1.3, the version behind CVE-2026-77382, whose ApproxExp measured at approximately 2^-33 maximum relative error. End-to-end KATs remain
  valuable, but a feasible collection is unlikely to land on these rare decision boundaries.

  One portability caveat is that we found raw-byte-stream-to-SamplerZ vectors are not currently portable because implementations consume and map randomness differently. If FIPS 206 specifies one exact signing
  procedure, that convention could become normative. Otherwise, I would specify BaseSampler inputs as uniform integers and publish arithmetic checkpoint values instead of raw PRNG bytes.

  Best,

  Conner

Demi Marie Obenour

unread,
Sep 30, 2026, 2:16:52 PMSep 30
to Perlner, Ray A. (Fed), pqc-forum
I like this approach.

Some additional questions:

- How difficult is it to reject malformed signing keys? Users may
sign with keys obtained from untrusted sources, so it's important
that signing with a malformed key not result in non-cryptographic
vulnerabilities (memory unsafety, denial of service, etc).
In particular, if signing always failed the rejection checks,
it could easily spin and consume CPU (a DoS attack).

- Would it be possible to use completely different samplers in the
future, such as Antrag?
--
Sincerely,
Demi Marie Obenour (she/her/hers)

On 9/28/26 09:26, 'Perlner, Ray A. (Fed)' via pqc-forum wrote:
> Hi all,
>
>
>
> In light of recent work on implementing Falcon (In particular the recent fixed-point implementation published at Crypto https://eprint.iacr.org/2026/1531 and Thomas Pornin's RAM optimized implementation https://eprint.iacr.org/2026/1915 announced on the PQC forum) we think it's a good idea to update our plan for specifying FN-DSA in draft FIPS 206. In particular we hope to work together with the Falcon team to produce a draft (and eventually a final version) of FIPS 206 that:
>
>
>
> * Specifies a single version of the signing procedure for FN-DSA in sufficient detail so that implementations can be validated by exactly matching them to Known Answer Tests (KATs). Other implementation methods which could be guaranteed to produce the same KATs would generally be allowed. (We don't think it will be necessary for key generation to exactly match KATs, since for that we can use a validation approach along the lines of https://eprint.iacr.org/2026/954.)
> * Specifies the use of fixed-point arithmetic in both key generation and signing. Our initial plan would be to use a 32.32 fixed-point format for key generation (as in https://eprint.iacr.org/2023/290 and https://eprint.iacr.org/2025/1239.pdf) and a 64.64 fixed-point format for signing (as described in https://eprint.iacr.org/2026/1531 - Note that, assuming we take the recommendations regarding key generation from that paper, a 32.64 fixed-point format should yield equivalent KATs, which would make that format acceptable as well - we just consider 64.64 easier to specify).
> * Gives NIST the option to allow additional, compatible but not mathematically equivalent implementations of FN-DSA's signing procedure in future Special Publications (SPs.) For example, we may use these options to specify techniques from https://eprint.iacr.org/2026/1915 or https://eprint.iacr.org/2026/1531 that entail more changes to Falcon/FN-DSA, as represented by the Falcon submission documents and our internal working draft, than we'd like to consider on a (hopefully) short timeline. We'd expect any future additional NIST-approved version of FN-DSA signing to be compatible with the version of key generation and verification specified in FIPS 206. We'd also expect each new version to be validated by exactly matching its own set of KATs, and to be domain separated from other versions. It should be noted that some techniques which we might consider later, like https://eprint.iacr.org/2026/1531 's "Type-2" fixed-point (64-bit, variable radix) format, require extra checks to be done during key generation. Planning ahead, we therefore plan to make sure that FIPS 206 specifies a key generation procedure that does the checks necessary for any implementation techniques which seem like attractive candidates for later inclusion, even if they aren't needed for the version of the signing procedure we specify in the FIPS.
OpenPGP_signature.asc

niux_d...@icloud.com

unread,
Sep 30, 2026, 8:07:42 PMSep 30
to Perlner, Ray A. (Fed), pqc-forum
Hi all,

This is an exciting new development.

I wonder which rounding mode will these fixed-point formats operate with?

Currently, there's 4 rounding modes in IEEE-754-2019: round-to-nearest-ties-to-even, round-up, round-down, and round-to-zero. I recommend round-to-odd from the next revision.

Round-to-odd is being adopted for a desirable property - when double rounding to a narrower format, all operations applied while computing on the wider format would round as if atomically only once. Round-to-odd is not round-to-nearest-ties-to-odd, which is a different mode, RTO is a directed rounding. In essence, it repurposes the bottom bit as the sticky bit that would otherwise be implemented by hardware for space-efficient rounding.

When NIST specifies details around rounding, which rounding mode will be considered? Will RTO be added as an improvement, or am I being half-witted by overriding results from existing research?

Thanks.
DannyNiu/NJF.

> 2026年9月28日 21:26,'Perlner, Ray A. (Fed)' via pqc-forum <pqc-...@list.nist.gov> 写道:
>
> Hi all,
> In light of recent work on implementing Falcon (In particular the recent fixed-point implementation published at Cryptohttps://eprint.iacr.org/2026/1531 and Thomas Pornin’s RAM optimized implementation https://eprint.iacr.org/2026/1915 announced on the PQC forum) we think it’s a good idea to update our plan for specifying FN-DSA in draft FIPS 206. In particular we hope to work together with the Falcon team to produce a draft (and eventually a final version) of FIPS 206 that:
>
> • Specifies a single version of the signing procedure for FN-DSA in sufficient detail so that implementations can be validated by exactly matching them to Known Answer Tests (KATs). Other implementation methods which could be guaranteed to produce the same KATs would generally be allowed. (We don’t think it will be necessary for key generation to exactly match KATs, since for that we can use a validation approach along the lines of https://eprint.iacr.org/2026/954.)
> • Specifies the use of fixed-point arithmetic in both key generation and signing. Our initial plan would be to use a 32.32 fixed-point format for key generation (as in https://eprint.iacr.org/2023/290 and https://eprint.iacr.org/2025/1239.pdf) and a 64.64 fixed-point format for signing (as described in https://eprint.iacr.org/2026/1531 – Note that, assuming we take the recommendations regarding key generation from that paper, a 32.64 fixed-point format should yield equivalent KATs, which would make that format acceptable as well – we just consider 64.64 easier to specify).
> • Gives NIST the option to allow additional, compatible but not mathematically equivalent implementations of FN-DSA’s signing procedure in future Special Publications (SPs.) For example, we may use these options to specify techniques fromhttps://eprint.iacr.org/2026/1915 or https://eprint.iacr.org/2026/1531 that entail more changes to Falcon/FN-DSA, as represented by the Falcon submission documents and our internal working draft, than we’d like to consider on a (hopefully) short timeline. We’d expect any future additional NIST-approved version of FN-DSA signing to be compatible with the version of key generation and verification specified in FIPS 206. We’d also expect each new version to be validated by exactly matching its own set of KATs, and to be domain separated from other versions. It should be noted that some techniques which we might consider later, like https://eprint.iacr.org/2026/1531 ‘s “Type-2” fixed-point (64-bit, variable radix) format, require extra checks to be done during key generation. Planning ahead, we therefore plan to make sure that FIPS 206 specifies a key generation procedure that does the checks necessary for any implementation techniques which seem like attractive candidates for later inclusion, even if they aren’t needed for the version of the signing procedure we specify in the FIPS.
> To this end, we are seeking feedback from the community on whether this seems like a good plan.
> Thanks,
> Ray Perlner (on behalf of the NIST FIPS 206 team)
>

Paul Hoffman

unread,
Oct 1, 2026, 12:25:13 PMOct 1
to pqc-forum
On Sep 28, 2026, at 06:26, 'Perlner, Ray A. (Fed)' via pqc-forum <pqc-...@list.nist.gov> wrote:
> To this end, we are seeking feedback from the community on whether this seems like a good plan.

Yes, please! For the community that wants "smaller signatures than typical UDP packet sizes" and "wants to have commercial HSM support", expeditiously moving forward with this would be great.

--Paul Hoffman


Perlner, Ray A. (Fed)

unread,
Oct 2, 2026, 11:41:42 AMOct 2
to niux_d...@icloud.com, pqc-forum
Hi Danny,

Our current plan is to only allow fixed point and to disallow floating point in the FIPS. As such, we don't expect the rounding modes in IEEE-754-2019 (which specifies floating point) to be relevant. In any event, we expect the FIPS to include pseudocode implementing the necessary fixed-point operations (addition, multiplication, division, square root) in terms of standard integer types.

Best,
Ray

-----Original Message-----
From: niux_d...@icloud.com <niux_d...@icloud.com>
Sent: Wednesday, September 30, 2026 8:07 PM
To: Perlner, Ray A. (Fed) <ray.p...@nist.gov>

Perlner, Ray A. (Fed)

unread,
Oct 2, 2026, 12:27:02 PMOct 2
to Demi Marie Obenour, pqc-forum
Hi Demi

Rejecting keys that are malformed in ways that would make signing impossible or result signatures being sampled from the wrong distribution should be fairly straightforward. It basically just amounts to repeating the validity checks that are already present in the Falcon specification's key generation procedure, plus the additional ones that would be added to the FN-DSA key generation to rule out overflows in fixed-point implementations (probably similar to the checks recommended by https://eprint.iacr.org/2026/1531.pdf.)

It's important to emphasize here that any checks on a private key obtained from a 3rd party can't rule out things like a bad RNG, which could potentially result in total loss of security. This is true of any cryptographic scheme. (As a related side note, I don't think it's strictly correct to say that users may sign with keys obtained from untrusted sources: by signing with a key obtained from a 3rd party, users are implicitly treating that party as a trusted party, and I would further say that it's a bad idea to use the key if the trust is misplaced.)

Regarding different key generation procedures like Antrag, we may consider adding these in future Special Publications, if we see a clear benefit. We'd want to make sure any new key generation procedure includes strict enough output validity checks so that generated keys can be safely used by the signing procedure from the FIPS and any other variations of the signing procedure we are likely to standardize later. We'd probably try to make the output validity checks as close to identical as possible between different Approved key generation procedures to avoid interoperability problems (e.g. an Approved signing procedure rejecting the output of an Approved key generation procedure as malformed.)

Best,
Ray

Thomas Pornin

unread,
Oct 2, 2026, 2:11:37 PMOct 2
to pqc-forum, Perlner, Ray A. (Fed), Demi Marie Obenour
Additionally, in a practical Falcon/FN-DSA implementation, there are only two loops that could potentially go on forever:
  • The outer loop that restarts the process when the signing fails (because the generated (s1,s2) is too large, or s2 cannot be compressed within the target signature size).
  • The inner loop in the rejection sampling (SamplerZ).
For the outer loop, the probability of failure is 1/820 for a normal key (at n=1024) (the main cause for restarts with the check that the infinity norm of (s1,s2) is at most 840). Thus, 27 iterations are enough to ensure that the probability of failure is less than 2^(-256), and you can thus simply exit with a failure if you failed 27 times; hence, no infinite loop here.
Note that, realistically, the hardware itself will experience failures (if only due to stray cosmic rays) with a much higher probability, so that getting down to 2^(-256) is a lot of overkill.

For the rejection sampling, you can make a similar reasoning: as long as the distribution width sigma is such that sigma_min <= sigma <= sigma_max, then each attempt has a good probability of success (I don't remember the exact value, but it's above 0.7), and since the randomness source at that point is a SHAKE256 instance, it cannot go on forever. All you have to ensure is that indeed sigma is in that range. Value of sigma_max is 1.8205, while sigma_min depends on the degree n; lowest value is in the toy/research versions (about 1.1165 at n=4). If you check that 1.1 <= sigma <= 1.8205 when entering SamplerZ(), then you know that it cannot loop indefinitely.
Alternatively, if you do not feel like adding that test in SamplerZ() (e.g. because that would require back-propagating an error status, which could be inconvenient from an implementation point of view), you could check that f*adj(f) + g*adj(g) is within the allowed range. In my c-fn-dsa-alt code, it is sufficient to ensure that the L2 norm of f*adj(f) + g*adj(g) is at most 1.17*sqrt(q) (as described in https://eprint.iacr.org/2026/1915 section 4.3, this ensures that the infinity norm of that polynomial is less than 16822, from which it follows that the Falcon tree is computed without overflows). I do that check here: https://github.com/pornin/c-fn-dsa-alt/blob/77e4870ae03a1f2202e7e7c14b569f6d73ef769f/sign_core.c#L101-L108 (it's inexpensive if you do it right at the place where f and g are decoded). 

Thomas

Demi Marie Obenour

unread,
Oct 2, 2026, 4:17:44 PMOct 2
to Perlner, Ray A. (Fed), pqc-forum
Thank you for your time, Ray!

Comments inline.

On 10/2/26 12:26, Perlner, Ray A. (Fed) wrote:
> Hi Demi
>
> Rejecting keys that are malformed in ways that would make signing impossible or result signatures being sampled from the wrong distribution should be fairly straightforward. It basically just amounts to repeating the validity checks that are already present in the Falcon specification's key generation procedure, plus the additional ones that would be added to the FN-DSA key generation to rule out overflows in fixed-point implementations (probably similar to the checks recommended by https://eprint.iacr.org/2026/1531.pdf.)
>
> It's important to emphasize here that any checks on a private key obtained from a 3rd party can't rule out things like a bad RNG, which could potentially result in total loss of security. This is true of any cryptographic scheme. (As a related side note, I don't think it's strictly correct to say that users may sign with keys obtained from untrusted sources: by signing with a key obtained from a 3rd party, users are implicitly treating that party as a trusted party, and I would further say that it's a bad idea to use the key if the trust is misplaced.)

The attacks I am concerned about are non-cryptographic. They are the usual security problems that can be found in software that processes untrusted input. This includes (but is not limited to) memory corruption, information disclosure (of data other than the signing key), excessive resource consumption, and/or crashes.

Some products, such as key management services and HSMs, need to support importing secret keys that were generated externally. These services are often multi-tenant. An untrusted user may well generate a malicious key, import it into the product, and ask the product to sign with it. The untrusted user must not be able to cause harm to other users of the service by doing this.

> Regarding different key generation procedures like Antrag, we may consider adding these in future Special Publications, if we see a clear benefit. We'd want to make sure any new key generation procedure includes strict enough output validity checks so that generated keys can be safely used by the signing procedure from the FIPS and any other variations of the signing procedure we are likely to standardize later. We'd probably try to make the output validity checks as close to identical as possible between different Approved key generation procedures to avoid interoperability problems (e.g. an Approved signing procedure rejecting the output of an Approved key generation procedure as malformed.)

Would it be possible for FIPS 206 to mention that non-Approved key generation and signing procedures exist, and that the Approved procedures are not the only secure ones?

The Antrag paper mentions a quality of α = 1.23 for dimension 1024, which is slightly worse than Falcon’s (α = 1.17). I don’t know if that can be improved. Antrag also allows new parameter sets (such as 768 dimensions) that are impractical using Falcon's sampler.

I suspect that Antrag and Falcon secret keys aren't directly interoperable, due to different precomputation in the key generation procedure. However, it might be possible to extract the secret basis from one and rerun the rest of key generation. *Public* keys and signatures are, of course, interoperable (subject to the quality caveat above).
OpenPGP_signature.asc

niux_d...@icloud.com

unread,
Oct 3, 2026, 2:21:02 AMOct 3
to Perlner, Ray A. (Fed), pqc-forum
Hi again, all.

> 2026年10月2日 23:41,'Perlner, Ray A. (Fed)' via pqc-forum <pqc-...@list.nist.gov> 写道:
>
> Hi Danny,
>
> Our current plan is to only allow fixed point and to disallow floating point in the FIPS. As such, we don't expect the rounding modes in IEEE-754-2019 (which specifies floating point) to be relevant.

I suppose fixed point won't have nearly as trouble with rounding as floating points. But since there're __fraction bits__, I thought there may still be rounding nonetheless.


> In any event, we expect the FIPS to include pseudocode implementing the necessary fixed-point operations (addition, multiplication, division, square root) in terms of standard integer types.

I'm thinking about a memory-constrained implementation technique, where multiplication of a n-bit word uses only n+c bits (with c being a constant). For example, multiplying 2 64-bit operands with a destination of only 96 bits (n=64, c=32), and this is where double-rounding could occur.

But obviously that might just be an implementation detail without observable difference beyond subroutine boundary.


>
> Best,
> Ray

Thanks. Thought this could be an interesting discussion.
- DannyNiu/NJF.

Demi Marie Obenour

unread,
Oct 4, 2026, 1:03:03 AMOct 4
to Thomas Pornin, pqc-forum, Perlner, Ray A. (Fed)
Thomas,

That's actually quite helpful. Thank you.

Would it make sense to add these checks to the reference implementation?
I think it would remove a DoS attack footgun, and as FN-DSA is
difficult to implement I expect the reference implementation to be
fairly widely used. Even a floating-point implementation might be
used as long as it interoperates.
--
Sincerely,
Demi Marie Obenour (she/her/hers)

On 10/2/26 14:11, Thomas Pornin wrote:
> Additionally, in a practical Falcon/FN-DSA implementation, there are only
> two loops that could potentially go on forever:
>
> - The outer loop that restarts the process when the signing fails
> (because the generated (s1,s2) is too large, or s2 cannot be compressed
> within the target signature size).
> - The inner loop in the rejection sampling (SamplerZ).
OpenPGP_signature.asc

Kris Kwiatkowski

unread,
Oct 5, 2026, 7:59:49 AMOct 5
to pqc-...@list.nist.gov

This was indeed a great call.

So far, the fixed-point arithmetic to FN-DSA and the self-adjoint polynomials in FFT-new are holding up well, both on performance and security.

Cheers,
Kris

--

Christopher J Peikert

unread,
Oct 6, 2026, 10:30:33 AMOct 6
to Perlner, Ray A. (Fed), pqc-forum
Dear Ray and the NIST FIPS 206 team, the plan for fixed-point arithmetic throughout key generation and signing is very welcome!

Concerning this:

On Mon, Sep 28, 2026 at 9:27 AM 'Perlner, Ray A. (Fed)' via pqc-forum <pqc-...@list.nist.gov> wrote:

...a draft (and eventually a final version) of FIPS 206 that:

 

  • Specifies a single version of the signing procedure for FN-DSA in sufficient detail so that implementations can be validated by exactly matching them to Known Answer Tests (KATs)...
  • Gives NIST the option to allow additional, compatible but not mathematically equivalent implementations of FN-DSA’s signing procedure in future Special Publications (SPs.)...

I am curious whether and how this affects your thinking about the public random signature "salt."

Having a single signing procedure, specified deterministically down to the bit level, could eliminate the need for the salt, which would save 40 bytes from the signature size. Even with several inequivalent (but fully specified) signing procedures, the salt could be replaced by a single domain-separation byte. This is the approach we took in deterministic Falcon. There are other potential advantages, like being able to compute the "syndrome hash" before receiving any of the signature. But there are potential downsides as well.

Sincerely yours in cryptography,
Chris

Thomas Prest

unread,
Oct 14, 2026, 10:10:30 AMOct 14
to pqc-forum, Christopher J Peikert, pqc-forum, Perlner, Ray A. (Fed)
Hi Ray, all,

Speaking for myself (not the Falcon team),

To reply to Ray's initial email, I fully support the plan. A few comments on each bullet in your email:
  • On KATs: I would recommend KATs on integer values, signatures being the obvious one. I would advise against enforcing KATs on non-integer intermediate values, since it could de facto pin down one implementation as the correct one. In fixed-point, computing (a·b)·c instead of a·(b·c) shifts the result by some ε and such a KAT would have to make a decision on the "right one". Conner mentioned intervals in his email, that could also be an alternative solution to the problem pointed above.
  • On the second bullet, no objection.
  • A quick question on the third bullet. You write that other implementation methods "guaranteed to produce the same KATs" would generally be allowed, and gives 32.64 vs 64.64 as an example. But an implementer could go out of their way to write an implementation for format X that uses the domain separation string for format Y: I would expect such an implementation to pass the whole test set for format Y, since divergences would only show up on inputs too rare for a realistic KAT set to contain. So what does "guaranteed" cover exactly? If it means matching on the test vectors, then fixed-point is a normative requirement that validation does not actually check, which is fine by me but worth stating.
On Chris's suggestion to drop the salt: I would advise against it as it would make the scheme very footgun-y.

For Falcon-style schemes (and most hash-then-sign lattice signatures), dropping the salt means preimage sampling has to be deterministic, otherwise signing the same message twice gives two preimages of the same target, which then moves security into uncharted territory (one-more SIS). Deterministic signing then requires bit-exactness for security. This has been described at length in https://eprint.iacr.org/2024/1709: two ever so slightly different implementations of a (hypothetical) deterministic Falcon can lead to one rounding difference, leading to two distinct preimages of the same target, which they show leads into a key-recovery. Given the paragraph above, I do not think we can promise bit-exactness across implementations and revisions, especially if we are talking about a standard that will (hopefully) be widely deployed. 40 bytes is not worth it to me.

On Demi Marie's message about Antrag. Since Falcon came out in 2017, I have seen many proposals to improve it, but the ones I like the most are indeed Antrag (https://eprint.iacr.org/2023/1335) and https://eprint.iacr.org/2025/1940.
  • Antrag would make Falcon/FN-DSA much simpler to implement - I think we can all agree that Falcon's complexity is the main drawback of the scheme.
  • 2025/1940 gives smaller signatures and slightly higher security for one cheap extra rejection.
I realise it's not realistic to include them in FIPS 206, but I would like to see them considered in the future, perhaps for inclusion in a SP.

Best,
Thomas

Sebastien Riou

unread,
Oct 14, 2026, 10:56:50 AMOct 14
to Thomas Prest, pqc-forum, Christopher J Peikert, Perlner, Ray A. (Fed)
Hi,

Thomas wrote:
In fixed-point, computing (a·b)·c instead of a·(b·c) shifts the result by some ε and such a KAT would have to make a decision on the "right one".
 
In symmetric crypto, as far as I know, we have the ideal situation where all implementations must exactly match the KAT for all operations. I think we should try very hard to reach the same situation for asymmetric crypto.
What would be the downside of having the standard specify the order of operations when that matters? 

Best regards,

Sebastien Riou

Fellow, Product Security Architecture

PQShield Ltd

 

M:             +33 782 320 285

E:              sebasti...@pqshield.com

W:             www.pqshield.com



--
You received this message because you are subscribed to the Google Groups "pqc-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+...@list.nist.gov.

Thomas Prest

unread,
Oct 14, 2026, 11:36:47 AMOct 14
to Sebastien Riou, pqc-forum, Christopher J Peikert, Perlner, Ray A. (Fed)

@Sebastien:

This would effectively lock in one implementation choice (a bit like ML-KEM's NTT format for the public key, but more extreme). If choices A and B are incomparable (think, B is faster but A is more memory-efficient), then we have to impose a choice that is sub-optimal in some usecases.

Also, if future research comes up with implementation tricks, then these may not be applicable. Same problem with masking techniques.

Best,
Thomas

Thomas Pornin

unread,
Oct 14, 2026, 11:50:34 AMOct 14
to pqc-forum, Thomas Prest, pqc-forum, Christopher J Peikert, Perlner, Ray A. (Fed), Sebastien Riou
To complement that: this also depends a lot on the involved hardware. On anything "large" (smartphone, laptop, server...), floating-point is substantially faster. To give some numbers, on x86, signing with the FPU is about twice faster than with fixed-point; on Arm Cortex A76, e.g. a Raspberry Pi 5, the ratio is closer to 3x (reason is that the 64-bit multiplier in the Arm Cortex A76 is non-pipelined, so any 64x64->128 multiplication occupies the multiplier for 7 cycles, while the FPU can launch two FP multiplications per cycle). On small systems, e.g. Arm Cortex M4, the reverse happens, fixed-point is at least 1.5x faster than (emulated) floating-point. Then there are also RAM issues: fixed-point 32.64 takes 12 bytes per value (16 bytes for 64.64 format), while floating-point uses only 8 bytes, so the RAM usage is greater with fixed-point (my RAM-efficient implementation goes down to 11 kB RAM for signing with emulated floating-point; fixed-point 32.64 will predictably raise that to 15 kB). "Type 2" fixed-point should help, but it does not compute exactly the same values as type 1 formats such as 32.64 (let alone floating-point).

To sum up, there is no one-size-fits all; if everything is specified exactly, then we will need several specifications, which implies more work for NIST, and correspondingly more delays to publication. My understanding is that NIST's plans are indeed to have a main standard and then some special publications for variants, each fully specified to the last bit.

Thomas (the other one)

Bas Westerbaan

unread,
Oct 14, 2026, 11:57:12 AMOct 14
to Thomas Pornin, pqc-forum, Thomas Prest, Christopher J Peikert, Perlner, Ray A. (Fed), Sebastien Riou
On Wed, Oct 14, 2026 at 5:50 PM 'Thomas Pornin' via pqc-forum <pqc-...@list.nist.gov> wrote:
To complement that: this also depends a lot on the involved hardware. On anything "large" (smartphone, laptop, server...), floating-point is substantially faster. To give some numbers, on x86, signing with the FPU is about twice faster than with fixed-point; on Arm Cortex A76, e.g. a Raspberry Pi 5, the ratio is closer to 3x (reason is that the 64-bit multiplier in the Arm Cortex A76 is non-pipelined, so any 64x64->128 multiplication occupies the multiplier for 7 cycles, while the FPU can launch two FP multiplications per cycle). On small systems, e.g. Arm Cortex M4, the reverse happens, fixed-point is at least 1.5x faster than (emulated) floating-point. Then there are also RAM issues: fixed-point 32.64 takes 12 bytes per value (16 bytes for 64.64 format), while floating-point uses only 8 bytes, so the RAM usage is greater with fixed-point (my RAM-efficient implementation goes down to 11 kB RAM for signing with emulated floating-point; fixed-point 32.64 will predictably raise that to 15 kB). "Type 2" fixed-point should help, but it does not compute exactly the same values as type 1 formats such as 32.64 (let alone floating-point).

To sum up, there is no one-size-fits all; if everything is specified exactly, then we will need several specifications, which implies more work for NIST,

Why several? Is it that bad to stick with just fixed-point and forego the floating point implementation? I for one wouldn't morn it.
 

Sebastien Riou

unread,
Oct 14, 2026, 12:15:05 PMOct 14
to Bas Westerbaan, Thomas Pornin, pqc-forum, Thomas Prest, Christopher J Peikert, Perlner, Ray A. (Fed)
About 'implementation freedom', in symmetric crypto, such freedom is systematically forfeited in order to have bit exact KATs: 
- SHA2 is 'big-endian', if we could have it little-endian it would end up faster on little-endian CPUs.
- ASCON chose 64 bit plain rotations rather than equivalent 32 bit interleaved rotation which would have been 5% faster on 32 bit CPUs
...

About floating point being faster: yes right, but still unlikely to be constant time, so unusable in practice

Having KATs which are not bit exact is a big footgun in my opinion.

Best regards,

Sebastien Riou

Fellow, Product Security Architecture

PQShield Ltd

 

M:             +33 782 320 285

E:              sebasti...@pqshield.com

W:             www.pqshield.com


Demi Marie Obenour

unread,
Oct 14, 2026, 12:38:23 PMOct 14
to Sebastien Riou, Bas Westerbaan, Thomas Pornin, pqc-forum, Thomas Prest, Christopher J Peikert, Perlner, Ray A. (Fed)
I agree that KATs are a good idea. However, the list of signing
algorithms in FIPS 207 will never be exhaustive. In fact, FN-DSA at
level 1 accepts Antrag signatures!
>>>>> <https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/a11CmUsuBQAJ>,
>>>>> I fully support the plan. A few comments on each bullet in your email:
>>>>>
>>>>> - On KATs: I would recommend KATs on integer values, signatures
>>>>> being the obvious one. I would advise against enforcing KATs on non-integer
>>>>> intermediate values, since it could de facto pin down one implementation as
>>>>> the correct one. In fixed-point, computing (a·b)·c instead of a·(b·c)
>>>>> shifts the result by some ε and such a KAT would have to make a decision on
>>>>> the "right one". Conner mentioned intervals in his email
>>>>> <https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/giZvRIV4BQAJ>,
>>>>> that could also be an alternative solution to the problem pointed above.
>>>>> - On the second bullet, no objection.
>>>>> - A quick question on the third bullet. You write that other
>>>>> implementation methods "guaranteed to produce the same KATs" would
>>>>> generally be allowed, and gives 32.64 vs 64.64 as an example. But an
>>>>> implementer could go out of their way to write an implementation for format
>>>>> X that uses the domain separation string for format Y: I would expect such
>>>>> an implementation to pass the whole test set for format Y, since
>>>>> divergences would only show up on inputs too rare for a realistic KAT set
>>>>> to contain. So what does "guaranteed" cover exactly? If it means matching
>>>>> on the test vectors, then fixed-point is a normative requirement that
>>>>> validation does not actually check, which is fine by me but worth stating.
>>>>>
>>>>> On Chris's suggestion
>>>>> <https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/h3OC82X9AAAJ>
>>>>> to drop the salt: I would advise against it as it would make the scheme
>>>>> very footgun-y.
>>>>>
>>>>> For Falcon-style schemes (and most hash-then-sign lattice signatures),
>>>>> dropping the salt means preimage sampling has to be deterministic,
>>>>> otherwise signing the same message twice gives two preimages of the same
>>>>> target, which then moves security into uncharted territory (one-more
>>>>> SIS <https://latticeassumptionzoo.org/om-isis/>). Deterministic
>>>>> signing then requires bit-exactness for security. This has been described
>>>>> at length in https://eprint.iacr.org/2024/1709: two ever so slightly
>>>>> different implementations of a (hypothetical) deterministic Falcon can lead
>>>>> to one rounding difference, leading to two distinct preimages of the same
>>>>> target, which they show leads into a key-recovery. Given the paragraph
>>>>> above, I do not think we can promise bit-exactness across implementations
>>>>> and revisions, especially if we are talking about a standard that will
>>>>> (hopefully) be widely deployed. 40 bytes is not worth it to me.
>>>>>
>>>>> On Demi Marie's message
>>>>> <https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/LgTmrHW2BQAJ>
>>>>> about Antrag. Since Falcon came out in 2017, I have seen many proposals to
>>>>> improve it, but the ones I like the most are indeed Antrag (
>>>>> https://eprint.iacr.org/2023/1335) and
>>>>> https://eprint.iacr.org/2025/1940.
>>>>>
>>>>> - Antrag would make Falcon/FN-DSA much simpler to implement - I
>>>>> think we can all agree that Falcon's complexity is the main drawback of the
>>>>> scheme.
>>>>> - 2025/1940 gives smaller signatures *and* slightly higher security
>>>>> for one cheap extra rejection.
>>>>>
>>>>> I realise it's not realistic to include them in FIPS 206, but I would
>>>>> like to see them considered in the future, perhaps for inclusion in a SP.
>>>>>
>>>>> Best,
>>>>> Thomas
>>>>>
>>>>> On Tuesday, October 6, 2026 at 4:30:33 PM UTC+2 Christopher J Peikert
>>>>> wrote:
>>>>>
>>>>>> Dear Ray and the NIST FIPS 206 team, the plan for fixed-point
>>>>>> arithmetic throughout key generation and signing is very welcome!
>>>>>>
>>>>>> Concerning this:
>>>>>>
>>>>>> On Mon, Sep 28, 2026 at 9:27 AM 'Perlner, Ray A. (Fed)' via pqc-forum <
>>>>>> pqc-...@list.nist.gov> wrote:
>>>>>>
>>>>>>> ...a draft (and eventually a final version) of FIPS 206 that:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> - Specifies a single version of the signing procedure for FN-DSA
>>>>>>> in sufficient detail so that implementations can be validated by exactly
>>>>>>> matching them to Known Answer Tests (KATs)...
>>>>>>> - Gives NIST the option to allow additional, compatible but not
>>>>>>> mathematically equivalent implementations of FN-DSA’s signing procedure in
>>>>>>> future Special Publications (SPs.)...
>>>>>>>
>>>>>>>
>>>>>> I am curious whether and how this affects your thinking about the
>>>>>> public random signature "salt."
>>>>>>
>>>>>> Having a single signing procedure, specified deterministically down to
>>>>>> the bit level, could eliminate the need for the salt, which would save 40
>>>>>> bytes from the signature size. Even with several inequivalent (but fully
>>>>>> specified) signing procedures, the salt could be replaced by a single
>>>>>> domain-separation byte. This is the approach we took in deterministic
>>>>>> <https://github.com/algorand/falcon> Falcon
>>>>>> <https://github.com/algorand/falcon>. There are other potential
>>>>>> advantages, like being able to compute the "syndrome hash" before receiving
>>>>>> any of the signature. But there are potential downsides as well.
>>>>>>
>>>>>> Sincerely yours in cryptography,
>>>>>> Chris
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "pqc-forum" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to pqc-forum+...@list.nist.gov.
>>>>> To view this discussion visit
>>>>> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/82a14db6-53f5-48eb-80e1-6ebee494926bn%40list.nist.gov
>>>>> <https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/82a14db6-53f5-48eb-80e1-6ebee494926bn%40list.nist.gov?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "pqc-forum" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to pqc-forum+...@list.nist.gov.
>>> To view this discussion visit
>>> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/5af8e198-16a3-4d95-bbe1-429daf95b0ccn%40list.nist.gov
>>> <https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/5af8e198-16a3-4d95-bbe1-429daf95b0ccn%40list.nist.gov?utm_medium=email&utm_source=footer>
OpenPGP_signature.asc

Hugo Vincent

unread,
Oct 14, 2026, 12:45:37 PMOct 14
to Demi Marie Obenour, Sebastien Riou, Bas Westerbaan, Thomas Pornin, pqc-forum, Thomas Prest, Christopher J Peikert, Perlner, Ray A. (Fed)
A previous message from Ray Perlner, https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/B_FvzEAwBQAJ, suggests that floating point arithmetic would be not permitted (for now, until possible future SPs). 

(I also note that using IEEE-754 floating point hardware to emulate 64.64 fixed point (if that is what ends up specified) is unlikely to result in much of a speed-up, even setting aside constant time issues).

Cheers,
Hugo

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Demi Marie Obenour

unread,
Oct 14, 2026, 12:48:42 PMOct 14
to Hugo Vincent, Sebastien Riou, Bas Westerbaan, Thomas Pornin, pqc-forum, Thomas Prest, Christopher J Peikert, Perlner, Ray A. (Fed)
I think it is important to keep in mind the difference between:

1. Algorithms approved by NIST that can be used in FIPS-conforming implementations.
2. Algorithms that produce public keys and signatures that a FIPS-conforming verifier will accept.

A TLS implementation could use a completely different algorithm to create an FN-DSA signature and nobody would ever know.
>> E: sebasti...@pqshield.com<mailto:sebasti...@pqshield.com>
>>>>> E: sebasti...@pqshield.com<mailto:sebasti...@pqshield.com>
>>>>>> an email to pqc-forum+...@list.nist.gov<mailto:pqc-forum+...@list.nist.gov>.
>>>>>> To view this discussion visit
>>>>>> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/82a14db6-53f5-48eb-80e1-6ebee494926bn%40list.nist.gov
>>>>>> <https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/82a14db6-53f5-48eb-80e1-6ebee494926bn%40list.nist.gov?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>> You received this message because you are subscribed to the Google Groups
>>>> "pqc-forum" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>> email to pqc-forum+...@list.nist.gov<mailto:pqc-forum+...@list.nist.gov>.
>>>> To view this discussion visit
>>>> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/5af8e198-16a3-4d95-bbe1-429daf95b0ccn%40list.nist.gov
>>>> <https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/5af8e198-16a3-4d95-bbe1-429daf95b0ccn%40list.nist.gov?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>
>
>
> --
> Sincerely,
> Demi Marie Obenour (she/her/hers)
>
> --
> You received this message because you are subscribed to the Google Groups "pqc-forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+...@list.nist.gov<mailto:pqc-forum+...@list.nist.gov>.
> To view this discussion visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/24e7d862-1e6a-4f4f-8104-4eef306df804%40gmail.com.
>
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


OpenPGP_signature.asc

John Mattsson

unread,
Oct 15, 2026, 3:25:01 AMOct 15
to Thomas Prest, pqc-forum, Christopher J Peikert, pqc-forum, Perlner, Ray A. (Fed)
>On Chris's suggestion to drop the salt: I would advise against it as it would >make the scheme very footgun-y.
>
>For Falcon-style schemes (and most hash-then-sign lattice signatures), dropping the salt means preimage sampling has to be deterministic, otherwise signing the same message twice gives two preimages of the same target, which then moves security into uncharted territory

Just like floating-point arithmetic, “footgun-y” and “uncharted territory” are not properties I want in my signature schemes...

Does removing the salt mean giving up hedged signing? I believe FIPS 206 and all future signature standards should default to hedged signing. It is great that NIST made hedged signing the default for ML-DSA. Deterministic signing has traditionally been more vulnerable to side-channel attacks, and I would not want future standards to lose the protection that hedged signing provides.
Cheers,
John Preuß Mattsson

--

You received this message because you are subscribed to the Google Groups "pqc-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+...@list.nist.gov.
To view this discussion visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/82a14db6-53f5-48eb-80e1-6ebee494926bn%40list.nist.gov.

Perlner, Ray A. (Fed)

unread,
Oct 15, 2026, 5:19:36 PMOct 15
to Thomas Prest, Sebastien Riou, pqc-forum, Christopher J Peikert

Hi Thomas,

 

Regarding your question about what we mean by “guaranteed to produce the same KATs”. The intended meaning is to refer to implementations that produce exactly the same outputs on the full range of possible inputs, not just the subset of inputs that are explicitly given by any particular KAT. We are aware that enforcing a normative requirement to that effect may require testing some intermediate values and could “lock in” some implementation choices. In fact, “locking in” particular implementation choices is somewhat intended. Our feeling is that, at least for the short term (i.e. the intended timeframe of the FIPS,) it’s going to be easier to give a concrete set of implementation choices that we and the community can agree are safe, than to specify a broader range of possible implementation choices and try to gain confidence that everything within that range is safe.

 

Best,

Ray

Stef Halmans

unread,
Nov 5, 2026, 1:24:32 PMNov 5
to Perlner, Ray A. (Fed), pqc-forum
Hi Ray, all,

Some input on the FN-DSA standardization plan from our fixed-point
Falcon paper for the Cortex-M4 (https://eprint.iacr.org/2026/2431, code:
https://github.com/Chair-for-Security-Engineering/Falcon-FxP-M4). We
created a constant-time 32.64 signer in assembly for Falcon-512 and
Falcon-1024, with a complete evaluation of the operation chain's
precision and integer ranges at both degrees, measured on 10^5 keys
against a 200-bit reference.

Two findings are relevant. First, 32.64 and 64.64 give the same
signatures only if the operation order is pinned, and the order must be
evaluated together with the integer bounds of [1]. The lemmas bound the
values, but whether an intermediate fits 32 integer bits depends on the
order in which it is formed. The reference code, c-fn-dsa
(https://github.com/pornin/c-fn-dsa), and fixed-point-c
(https://github.com/fixed-point-fndsa/fixed-point-c) multiply the hashed
message by F before dividing by q, during target computation, which
overflows 32 integer bits at both degrees even for keys that pass the
gamma checks. Scaling by 1/q first solves this. We evaluated every
intermediate of the signing chain at both degrees, and any
implementation should do the same, as the bounds of [1] make it possible
to check every intermediate of the standard algorithm for overflow. And,
as shown for the target computation, is very important to understand
what an operation order means for the integer range. We recommend that a
specification should pin the fraction bits, the order, and the proven
integer ranges rather than a word size, resulting in 32.64, 64.64, or
even a lower x.64 implementation to be the same, if the integer budget
fits in what is required for the operation chain.

Second, precision depends only partially on the arithmetic. The
arithmetic format becomes important only after the operation chain is
chosen carefully to not introduce or amplify errors. Very small values
have low precision in a fixed-point format, and high values amplify
existing errors. A plain 32.64 chain supports 2^{59.2} / 2^{54.5}
queries per key (Falcon-512/1024), below binary64's 2^{61.5} / 2^{58.7}
and below the 2^{64} target. The reciprocals and the constants 1/q and
1/sigma are small values, and keep few significant bits. Keeping them
wide and rounding once at the consumer, with Symplecroot and the split
[1], gives 2^{99.7} / 2^{96.7}, and these operations are faster than the
plain ones. These choices also matter for binary64: the split, the
integer Gram matrix, and Symplecroot bring c-fn-dsa above 2^{64} to
2^{75.7} / 2^{72.6} while making it faster. Because 32.64 and 64.64
share 64 fraction bits and nothing overflows, every rounding decision is
identical, so these numbers hold for a 64.64 implementation as well,
with the same operation chain.

We also derived gamma values for Falcon-1024, which [1] does not cover.
They accept 72.3 % of keys where the Falcon-512 bounds used for
Falcon-1024 accept only 8.5 %. They were derived with a focus on keeping
the increase in integer budgets of the Falcon algorithm's intermediates
as low as possible compared to Falcon-512.

On the Cortex-M4 the constant-time 32.64 signer needs 45 % fewer cycles
than c-fn-dsa's double-precision emulation at equal structure. Thomas
Pornin's concurrent c-fn-dsa-fx32.64 [3] puts the same arithmetic on his
RAM-efficient structure [2]. The paper discusses the operation order,
precision of implementation choices, error sources, and gamma derivation
in detail, with recommendations for the standard in its FIPS 206
section.

[1] https://eprint.iacr.org/2026/1531
[2] https://eprint.iacr.org/2026/1915
[3] https://github.com/pornin/c-fn-dsa-fx32.64

Best,

Stef Halmans
>> W: www.pqshield.com [1]
>>
>> On Wed, 14 Oct 2026 at 16:11, 'Thomas Prest' via pqc-forum
>> <pqc-...@list.nist.gov> wrote:
>>
>> Hi Ray, all,
>>
>> Speaking for myself (not the Falcon team),
>>
>> To reply to Ray's initial email [2], I fully support the plan. A few
>> comments on each bullet in your email:
>>
>> * On KATs: I would recommend KATs on integer values, signatures
>> being the obvious one. I would advise against enforcing KATs on
>> non-integer intermediate values, since it could de facto pin down
>> one implementation as the correct one. In fixed-point, computing
>> (a·b)·c instead of a·(b·c) shifts the result by some ε and such
>> a KAT would have to make a decision on the "right one". Conner
>> mentioned intervals in his email [3], that could also be an
>> alternative solution to the problem pointed above.
>> * On the second bullet, no objection.
>> * A quick question on the third bullet. You write that other
>> implementation methods "guaranteed to produce the same KATs" would
>> generally be allowed, and gives 32.64 vs 64.64 as an example. But an
>> implementer could go out of their way to write an implementation for
>> format X that uses the domain separation string for format Y: I
>> would expect such an implementation to pass the whole test set for
>> format Y, since divergences would only show up on inputs too rare
>> for a realistic KAT set to contain. So what does "guaranteed" cover
>> exactly? If it means matching on the test vectors, then fixed-point
>> is a normative requirement that validation does not actually check,
>> which is fine by me but worth stating.
>>
>> On Chris's suggestion [4] to drop the salt: I would advise against
>> it as it would make the scheme very footgun-y.
>>
>> For Falcon-style schemes (and most hash-then-sign lattice
>> signatures), dropping the salt means preimage sampling has to be
>> deterministic, otherwise signing the same message twice gives two
>> preimages of the same target, which then moves security into
>> uncharted territory (one-more SIS [5]). Deterministic signing then
>> requires bit-exactness for security. This has been described at
>> length in https://eprint.iacr.org/2024/1709: two ever so slightly
>> different implementations of a (hypothetical) deterministic Falcon
>> can lead to one rounding difference, leading to two distinct
>> preimages of the same target, which they show leads into a
>> key-recovery. Given the paragraph above, I do not think we can
>> promise bit-exactness across implementations and revisions,
>> especially if we are talking about a standard that will (hopefully)
>> be widely deployed. 40 bytes is not worth it to me.
>>
>> On Demi Marie's message [6] about Antrag. Since Falcon came out in
>> 2017, I have seen many proposals to improve it, but the ones I like
>> the most are indeed Antrag (https://eprint.iacr.org/2023/1335) and
>> https://eprint.iacr.org/2025/1940.
>>
>> * Antrag would make Falcon/FN-DSA much simpler to implement - I
>> think we can all agree that Falcon's complexity is the main drawback
>> of the scheme.
>> * 2025/1940 gives smaller signatures _and_ slightly higher security
>> for one cheap extra rejection.
>>
>> I realise it's not realistic to include them in FIPS 206, but I
>> would like to see them considered in the future, perhaps for
>> inclusion in a SP.
>>
>> Best,
>> Thomas
>>
>> On Tuesday, October 6, 2026 at 4:30:33 PM UTC+2 Christopher J
>> Peikert wrote:
>>
>> Dear Ray and the NIST FIPS 206 team, the plan for fixed-point
>> arithmetic throughout key generation and signing is very welcome!
>>
>> Concerning this:
>>
>> On Mon, Sep 28, 2026 at 9:27 AM 'Perlner, Ray A. (Fed)' via
>> pqc-forum <pqc-...@list.nist.gov> wrote:
>>
>> ...a draft (and eventually a final version) of FIPS 206 that:
>>
>> * Specifies a single version of the signing procedure for FN-DSA
>> in sufficient detail so that implementations can be validated by
>> exactly matching them to Known Answer Tests (KATs)...
>> * Gives NIST the option to allow additional, compatible but not
>> mathematically equivalent implementations of FN-DSA’s signing
>> procedure in future Special Publications (SPs.)...
>>
>> I am curious whether and how this affects your thinking about the
>> public random signature "salt."
>>
>> Having a single signing procedure, specified deterministically down
>> to the bit level, could eliminate the need for the salt, which would
>> save 40 bytes from the signature size. Even with several
>> inequivalent (but fully specified) signing procedures, the salt
>> could be replaced by a single domain-separation byte. This is the
>> approach we took in deterministic [7] Falcon [7]. There are other
>> potential advantages, like being able to compute the "syndrome hash"
>> before receiving any of the signature. But there are potential
>> downsides as well.
>>
>> Sincerely yours in cryptography,
>>
>> Chris
>
> --
> You received this message because you are subscribed to the Google
> Groups "pqc-forum" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pqc-forum+...@list.nist.gov.
> To view this discussion visit
> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/82a14db6-53f5-48eb-80e1-6ebee494926bn%40list.nist.gov
> [8].
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pqc-forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/a/list.nist.gov/d/topic/pqc-forum/7z-y5qp-W2Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> pqc-forum+...@list.nist.gov.
> To view this discussion visit
> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/BY5PR09MB485225840ADB4AD66F4CEEFC9C9C2%40BY5PR09MB4852.namprd09.prod.outlook.com
> [9].
>
>
> Links:
> ------
> [1] http://www.pqshield.com/
> [2]
> https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/a11CmUsuBQAJ
> [3]
> https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/giZvRIV4BQAJ
> [4]
> https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/h3OC82X9AAAJ
> [5] https://latticeassumptionzoo.org/om-isis/
> [6]
> https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/7z-y5qp-W2Y/m/LgTmrHW2BQAJ
> [7] https://github.com/algorand/falcon
> [8]
> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/82a14db6-53f5-48eb-80e1-6ebee494926bn%40list.nist.gov?utm_medium=email&utm_source=footer
> [9]
> https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/BY5PR09MB485225840ADB4AD66F4CEEFC9C9C2%40BY5PR09MB4852.namprd09.prod.outlook.com?utm_medium=email&utm_source=footer

Raymond Chang

unread,
Nov 15, 2026, 10:12:51 AMNov 15
to pqc-...@list.nist.gov, ray.p...@nist.gov
Hi Ray, Stef, all,

A view from the hardware side, speaking for Codebat Technologies. We design masked lattice signature cores and took ML-DSA through CAVP (certificate A8288), so validation of hardware implementations is where our interest lies.

1. We support Stef's recommendation that FIPS 206 pin the operation order and the proven integer range of each intermediate, and leave the word size open. In an ASIC or FPGA datapath the integer width is a design parameter. If the order and ranges are normative, a hardware signer can carry 64 fraction bits with only the integer bits the chain actually needs, and still match the 64.64 KATs exactly. A pinned word size would push hardware toward a wider datapath than the arithmetic requires.

2. Pinning the order also appears to resolve the concern Thomas Prest raised about KATs on non-integer intermediates. Once the order is normative, every fixed-point intermediate is a well-defined integer word, so component-level KATs become unambiguous, for example on the ffSampling center values passed into SamplerZ and on the target computation. For hardware these vectors are very valuable. A signer is often split between an accelerator and firmware, and the split falls at different points in different products. Vectors at the likely partition points would let each side be validated on its own.

3. A question for NIST: does the plan include component-level ACVP vectors for FN-DSA alongside end-to-end signing vectors, and if so, could the component boundaries be chosen with hardware/firmware partitioning in mind?

4. On John's point, we agree that hedged signing should remain the default. Fixed-point arithmetic brings masking of the signer within reach of the integer gadget techniques already used for ML-DSA, although the Gaussian sampler will still need dedicated work. Keeping the salt and hedged signing preserves that path for implementations that must meet physical side-channel requirements.

Best regards,
Raymond Chang
Founder & President, Codebat Technologies Inc.

Celi, Christopher T. (Fed)

unread,
Nov 20, 2026, 1:48:26 PM (10 days ago) Nov 20
to Raymond Chang, pqc-forum
Hi Raymond,

I run the CAVP at NIST. For #3, we do plan on publishing what we call intermediate value examples for fully-worked keys and signatures. For example the zip file on this page for draft ML-DSA and ML-KEM. That is separate from our ACVP testing for validation certificates such as A8288. The current plan for validation testing is just the full end-to-end algorithm for key generation, signature generation, and signature verification for FN-DSA. There is a chance that changes as the draft continues, but at the moment we are not expecting any component-level tests for validation through ACVP. 

I don’t regularly monitor this forum, feel free to reach out to ca...@nist.gov if you have questions on validating PQC algs. 

Thanks,
Chris Celi
CAVP Program Manager


From: pqc-...@list.nist.gov <pqc-...@list.nist.gov> on behalf of Raymond Chang <ray...@codebat.ai>
Date: Sunday, November 15, 2026 at 10:12 AM
To: pqc-forum <pqc-...@list.nist.gov>
Cc: Perlner, Ray A. (Fed) <ray.p...@nist.gov>

Subject: Re: [EXTERNAL] Re: [pqc-forum] New plan for FN-DSA

You don't often get email from ray...@codebat.ai. Learn why this is important

Vincent Hwang

unread,
Nov 21, 2026, 12:53:10 PM (9 days ago) Nov 21
to pqc-forum, Celi, Christopher T. (Fed)

Dear all,

I would like to share a report on the fixed-point version of the fast Fourier sampling in FN-DSA.
The report bounds the Rényi divergence between the fast Fourier sampling in real arithmetic and
fixed-point arithmetic on the tail-cut event.
For a reference bit security of 128 at n = 512 and 256 at n = 1024, over 2^64 signatures,
the bound keeps 126.28 and 248.78 bits at the plain center, and 126.70 and 253.53 bits at the
fractional center.

I propose four changes to the fixed-point implementation:
(i) SamplerZ rejects a candidate when its shift is >= 64 instead of saturating the shift [1].
(ii) The key generation performs three new checks bounding
(a) the largest relative deviation of a leaf standard deviation,
(b) the multiplicative perturbation of the tree map,
and (c) the largest remainder on the tail-cut event.
These two carry the proof.
(iii) The root node is now computed with the NTRU identity.
(iv) An inversion followed by a multiplication is replaced by a division.
The latter two simplify the proof.

The bound rests on machine-checked proofs,
with the sampler's kernels and its recursion proved in CryptoLine on the compiled aarch64 objects
and composed in Lean,
and three code-alignment hypotheses.
The Lean theorems take the summability of their series as a hypothesis, which will be discharged
once the code-alignment hypotheses are closed.
The analysis of the floating-point version is left open.

This report was written with AI agents under my detailed guidance,
and it is available at [2]. Any comments and corrections are welcome.

[1]
https://github.com/pornin/c-fn-dsa/blob/a5f15894bf1a68017074650d5298cecf9bb29a79/sign_sampler.c#L672-L682

[2]
https://eprint.iacr.org/2026/2902

Sincerely,
Vincent Hwang (speaking on my own behalf)
Reply all
Reply to author
Forward
0 new messages