Leo Ducas writes:
> In conclusion: w.r.t. to the current form of the primal lattice
> attack, NTRU is slightly weaker than LWE for the same parameters
Do I correctly understand that "same parameters" here means same noise
distribution, not just same dimension and modulus (and samples)?
For many proposed RLWE/RLWR parameters, the security level of the actual
RLWE-based/RLWR-based cryptosystems (Product NTRU) given decryption
failures appears to be considerably worse than the security level
against lattice attacks (although in some cases this depends on how
security is measured). Switching from those cryptosystems to Quotient
NTRU with the same dimension, same modulus, and same noise distribution
often produces smaller decryption-failure rates (exact numbers depend on
the exact strategies for rounding, error correction, etc.) and thus
_increases_ cryptosystem security against the best attacks known,
contradicting what readers would understand from the above quote.
It's more useful to compare cryptosystems with the same dimension, same
modulus, and the _same failure rate_, so that decryption-failure
security is equalized (as far as we know!), and to then compare lattice
security. Also, a high failure rate would swamp any differences in
lattice security levels, so the failure rate should be low.
(People trying hard to control risks will want lattice attacks analyzed
for the possibility of big improvements even if the known attacks are
less threatening than other attacks, but the same people will take
failure rate 0 anyway. In the opposite direction, there are people who
think failure rate 0 is a stronger defense than needed, but the idea of
simply _ignoring_ quantitative failure rates is untenable given how much
damage we've seen decryption-failure attacks causing. Any clear design
strategy should be able to say what failure rate is acceptable, and then
hopefully it's clear how to calculate the amount of noise allowed.)
This type of direct cryptosystem comparison, with equal failure rates,
already appears in the NTRU Prime submission. There are both Product
NTRU and Quotient NTRU options, with the same rings, and with the noise
distribution chosen in each case to allow a simple proof that the
failure rate is 0 (guaranteeing that there are no failure attacks). The
submission calculates Core-SVP and other estimates of lattice security
for both cryptosystems, accounting for the lower noise in one
cryptosystem and the rotations in the other cryptosystem.
Concretely, sntrup761 ends up with Core-SVP 2^153 while ntrulpr761 ends
up with Core-SVP 2^155. This is a much smaller difference than one would
expect from extrapolating the numbers in the message I'm replying to.
This in turn is because sntrup761 has a larger noise distribution, which
gains almost as many bits in Core-SVP as are lost through rotations.
The NTRU Prime submission also surveys many problems with Core-SVP,
including problems with the standard rotation analysis. For example, the
standard analysis doesn't account for the fact that rotations for NTRU
Prime generally increase in size (whereas for NTRU Classic they're all
the same size), and doesn't account for the fact that multiples larger
than rotations might also be found. The gap between 2^153 and 2^155 can
easily be reversed (or increased!) by small changes in the analysis, so
conclusions about what's quantitatively more secure are unwarranted.
https://eprint.iacr.org/2020/292 (Table 4) says block size 508.47 on
average for ntruhps2048677 (including a bonus from exploiting the
constant-sum noise in that system), while checking the NTRU submission
(Table 5) I see ntruhps2048677 claiming block size only 496. Does this
mean that
https://eprint.iacr.org/2020/292 generally ends up less
optimistic for the attacker than the standard rotation analysis?
Concretely, how does this analysis compare sntrup761 to ntrulpr761?
Saying "NTRU is slightly weaker than LWE for the same parameters" as a
"conclusion" isn't an appropriate way to summarize what's going on here.
It's failing to note (1) that the underlying rotation effect has already
been included in NTRU analyses for many years and (2) that there's an
effect in the opposite direction reducing security of _cryptosystems_
based on RLWE. Previous quantitative comparisons of these two effects
say that RLWE could be stronger _or weaker_ for equal failure rates.
Obviously there's also the possibility of improved attacks in either
direction. It's possible, for example, that the extra samples released
in RLWE-based cryptosystems reduce the security levels of those systems
far below Quotient NTRU systems---even if the RLWE-based systems have
"the same parameters" and worse failure rates! This could even be true
for _known_ attacks, depending on the exact parameter choices. It could
even be true for known attacks against parameters proposed in NISTPQC.
One shouldn't overstate how much is known about this comparison.
> and we seem to have a fair understanding of the phenomenon, both
> quantitatively and qualitatively.
The numbers shown seem to say that the latest analysis is disproven by
the experiments: it tends to overestimate security. It's hard to be sure
about this, since the only statistic provided for each size is the
average; there are enough sizes for a crude meta-analysis, and that's
what I'm referring to when I say "seem", but there are likely to be
confounding factors, and in any case there's no basis for confidence.
I would suggest following standard statistical practice of showing the
average _and_ the variance, and doing many more experiments for each
size. Best guess at this point is that this will provide solid evidence
(say six sigmas at reasonable cost) that the new analysis is inaccurate.
There's also a missing comparison to previous work. The literature
already contains various NTRU attack experiments and various related
analyses (which I'm not saying are consistent!). Could it be that the
new analysis is _less_ accurate than previous analyses? One would expect
a table directly comparing results from these analyses to results from
various previous analyses.
---Dan