NTRU

The NTRU assumption is a lattice-based hardness assumption over polynomial rings, introduced alongside the NTRU public-key cryptosystem (NTRU ⇒ PKE) — HPS98. The public key is a ratio of two ternary polynomials, and hardness asserts that no efficient algorithm finds, from alone, a ternary pair with invertible and .

Assumption

The assumption is parameterized by a degree , a modulus , a small modulus (typically ) with , and the numbers of nonzero coefficients of the secret polynomials. All arithmetic takes place in the ring , with reductions modulo taken coefficient-wise into . For integers with , is the set of polynomials with coefficients equal to , coefficients equal to and the rest — HPS98; is the set of polynomials with all coefficients in .

Key generation. Sample uniformly from the polynomials in that are invertible modulo both and , and . Set

The public key is ; the private key is .

NTRU Problem

Given only , the NTRU problem asks for a pair with invertible modulo and ; the private key is one such pair.

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\text{ntru}}_{n,p,q,d_f,d_g,\calA}(\secpar)$}
\begin{algorithmic}
\State $f \getsr \{f \in \calL(d_f, d_f - 1) : f \text{ invertible modulo } p \text{ and } q\}$; $g \getsr \calL(d_g, d_g)$
\State $h \gets g \cdot f^{-1} \bmod q$
\State $(\hat{f}, \hat{g}) \gets \calA(1^\secpar, h)$
\Return $[\hat{f}, \hat{g} \in \calT\ \wedge\ \hat{f}\ \text{invertible modulo}\ q\ \wedge\ h \cdot \hat{f} \equiv \hat{g} \pmod{q}]$
\end{algorithmic}
\end{algorithm}

NTRU is hard if for some -computable functions with , , and , and a constant with , such that for every some is invertible modulo and , for all efficient ,

is negligible. Requiring to be invertible excludes the pair : forces , so — standard.

SIS over NTRU lattices

The NTRU lattice of is , and SIS over NTRU lattices asks, given , for a nonzero whose coefficient vector has Euclidean norm at most . The GPV hash-and-sign signatures over NTRU lattices of DLP14, instantiated as Falcon, rest on this problem over , with drawn from a discrete Gaussian — DLP14, FHK+20. Over with the key distribution above the problem is easy for every : , so — standard.

TODO — read DLP14’s key width , the norm bound and the premises of the signature theorem from eprint 2014/794 or the Falcon specification; then encode this problem over , with a power of two, and discrete-Gaussian , and record the GPV signature result as a reduction.

One-wayness of NTRU encryption

NTRU encryption encrypts a message under as for ; decryption computes and outputs the element of congruent to modulo — HPS98. One-wayness asks to recover a uniform from .

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\text{ntru-ow}}_{n,p,q,d_f,d_g,d_r,\calA}(\secpar)$}
\begin{algorithmic}
\State $f \getsr \{f \in \calL(d_f, d_f - 1) : f \text{ invertible modulo } p \text{ and } q\}$; $g \getsr \calL(d_g, d_g)$
\State $h \gets g \cdot f^{-1} \bmod q$
\State $r \getsr \calL(d_r, d_r)$; $m \getsr \calM$
\State $c \gets p \cdot r \cdot h + m \bmod q$
\State $\hat{m} \gets \calA(1^\secpar, h, c)$
\Return $[\hat{m} = m]$
\end{algorithmic}
\end{algorithm}

Decryption is perfectly correct at if for every in the support of key generation, every and every , where is the largest absolute value of a coefficient. Then over , and reducing modulo and multiplying by recovers (NTRU ⇒ PKE).

NTRU encryption is one-way if for some -computable functions and a constant satisfying the conditions of the NTRU problem, with and decryption perfectly correct at every , for all efficient ,

is negligible.

TODO — NTRU ⇒ IND-CCA KEM takes this game as its premise, but HRSS17 build their KEM from “a slightly simplified version of textbook NTRU” over , not from the fixed-weight scheme above; encode HRSS17’s scheme, its key, and distributions and its OW-CPA game from eprint 2017/667 as a separate variant and retarget the reduction to it.

Variations

NTRU Prime

NTRU Prime replaces the ring with for a prime , eliminating the small subgroup structure of that can be exploited by certain attacks.

NTRU Encrypt / NTRUSign

NTRUEncrypt (PKE and KEM variants) and NTRU-HRSS-KEM (HRSS17) were NIST PQC round-1 submissions, merged into the round-2 candidate NTRU — CDH+19. NTRUSign (HHPSW03) predates the NIST process: its signatures leak the secret basis — NR06 — and its perturbation countermeasure is also broken — DN12.

Attacks

  • Lattice reduction (BKZ): the NTRU public key defines a -dimensional lattice containing short vectors ; BKZ-style algorithms attack this lattice. Parameter sizes have been revised upward over time to maintain security margins against improved BKZ variants.
  • Meet-in-the-middle: applies when or is small relative to .
  • NTRU has no known quantum speedup beyond the generic square-root speedup of Grover’s algorithm applied to brute-force lattice search.

Participates in

Builds on NTRU