Number theoretic transform with parallel coefficient processing
Abstract
Electronic device and method for performing number theoretic transforms (NTTs) on polynomials for cryptography uses an arithmetic transformation on an input polynomial with n coefficients to divide the input polynomial into multiple polynomials each with less than n coefficients such that the coefficients of the multiple polynomials add up to n. An NTT transformation is executed on the multiple polynomials such that the coefficients of each of the multiple polynomials are processed in parallel butterfly operations. A cryptographic operation is performed based on the results of the NTT transformation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented method for performing number theoretic transforms (NTTs) on polynomials for cryptography, the method comprising: receiving, by a coprocessor, a data structure storing n values, each value representing a corresponding integer coefficient of an input polynomial function of an independent variable; segmenting the data structure into m segments having bit-lengths that are equal to a word length w of the coprocessor using an arithmetic transformation of the input polynomial function into multiple polynomial functions, each segment storing n/m values of the data structure; performing, in registers of the coprocessor having the word length w of the coprocessor, a recursive divide-and-conquer butterfly computation using each of the segments m to produce a vector output having integer values corresponding to a number theoretic transform (NTT) of the data structure; and performing, by the coprocessor, a cryptographic operation based on the vector output; and wherein the cr
- Claim 2Depends on #1
The method of claim 1, wherein the number of the multiple polynomial functions is M=n/m, where n is the number of coefficients for each of the multiple polynomial functions.
- Claim 3Depends on #2
The method of claim 2, wherein m equals the word length w divided by 2l, where l is the smallest power of two larger than log q and q is a prime number.
- Claim 4Depends on #3
The method of claim 3, wherein the input polynomial function is f= Σ i=0 n f i X i in a ring R q =F q [X]/(X n +1).
- Claim 5Depends on #2
The method of claim 2, wherein the coefficients of each of the multiple polynomial functions fit in a w-bit register of the coprocessor.
- Claim 6Depends on #2
The method of claim 2, wherein the input polynomial function includes a variable X and wherein the arithmetic transformation includes replacing X m in the input polynomial function with a variable Y.
- Claim 7Depends on #6
The method of claim 6, wherein performing the recursive divide-and-conquer butterfly computation includes executing the following transformation: F ( X, Y) ↦ ( F ( X, ζ), F ( X, ζ 3) …, F ( X, ζ 2 n m - 1)), where ζ is a root of unity for F (X, Y).
- Claim 8Depends on #1
The method of claim 1 further comprising executing a transformation on the vector output to convert the vector output to Gentleman-Sande style NTT results.
Technical Overview & Description
BACKGROUND Recent significant advances in quantum computing have accelerated the research into post-quantum cryptography schemes for cryptographic algorithms, which run on classical computers but are believed to be still secure even when faced against an adversary with access to a quantum computer. This demand is driven by interest from standardization bodies, such as the call for proposals for new public-key cryptography standards by the National Institute of Standards and Technology (NIST). There are various different families of problems to instantiate these post-quantum cryptographic approaches. Constructions based on the hardness of lattice problems are considered to be one of the most promising candidates to become the next standard. Most approaches considered within this family are a generalization of the Learning With Errors (LWE) framework, i.e., the Ring-Learning With Errors problem. When implemented, the main computationally expensive operations are arithmetic with polynomials with integer coefficients. These computations can be done in a ring R q = q [X]/(X n +1) for positive integers q and n, where the coefficients of the polynomial are in q while the polynomial arithmetic is modulo X n +1. In contrast to other popular classical public-key cryptography where arithmetic of large integers of hundreds or thousands of bits is needed, the value of q is much smaller (less than 32 bits). As a result, it is unclear how to use the hardware accelerators developed and deployed for classical public-key cryptography in executing these computations. SUMMARY Electronic device and method for performing number theoretic transforms (NTTs) on polynomials for cryptography uses an arithmetic transformation on an input polynomial with n coefficients to divide the input polynomial into multiple polynomials each with less than n coefficients such that the coefficients of the multiple polynomials add up to n. An NTT transformation is executed on the multiple polynomials such th
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (24)
Non-Patent Literature (10)
- Alkim, Erdem et al.:
- “
- Compact and Simple RLWE Based Key Encapsulation Mechanism
- ”
- ; Sep. 9, 2019; Advances In Databases And Information Systems; Lecture Notes In Computer Science; ISBN: 978-3-319-10403-4; pp. 237-256.
- Cooley, J. et al.
- “
- An algorithm for the machine calculation of complex Fourier series
- ”
- , Research in part at Princeton University under the sponsorshipof the Army Research Office (Durham), pp. 297-301.