Hardware Security: Advanced Topics and Trends

Lattice-based post-quantum cryptography repeatedly multiplies polynomials of degree n = 256. If the naive method of multiplying every pair of coefficients needs about n² multiplications and the method using the number-theoretic transform (NTT) needs about n log₂ n, which is closest to the factor by which the NTT reduces the number of multiplications?

  1. Aabout 1/8
  2. Babout 1/32
  3. Cabout 1/256
Show answer and explanation

Answer: B. about 1/32

The naive method needs n² = 256² = 65,536 multiplications and the NTT method n log₂ n = 256 × 8 = 2,048, so 65,536 ÷ 2,048 = 32, a reduction to about 1/32. The number-theoretic transform applies the idea of the fast Fourier transform to integers modulo a prime, and after the transform only coefficient-wise multiplication is needed. ML-KEM handles coefficients modulo q = 3329 and is designed to be computed with the NTT, so NTT circuits are a central component of post-quantum cryptography accelerators. In addition, ML-KEM and ML-DSA make heavy use of functions from the SHA-3 family (SHAKE) to generate matrices and randomness, so accelerators for those are also effective.

  • A. This answers only log₂ n = log₂ 256 = 8. The ratio is n² ÷ (n log₂ n) = n ÷ log₂ n.
  • B. Correct. 256 ÷ 8 = 32.
  • C. This is n² ÷ n = n, forgetting to divide by log₂ n.
Practice this topic Back to topic

Books on Hardware Security: Advanced Topics and Trends Ad

As an Amazon Associate I earn from qualifying purchases.

More Hardware Security: Advanced Topics and Trends questions

  1. The public key of ML-KEM-768 is 1,184 bytes and its ciphertext 1,088 bytes, while the public value of the elliptic-curve key exchange X25519 is 32 bytes. How many times larger than the X25519 public value is the ML-KEM-768 public key?
  2. In ML-KEM decapsulation, the ciphertext is rebuilt from the result of decrypting the received ciphertext with the private key and compared with the received ciphertext. Which is a correct implementation precaution for this part?
  3. You are designing an SoC for an embedded device that will be used for more than 10 years. Which is an appropriate hardware and firmware design to prepare for future cryptographic migration (such as the move to post-quantum cryptography)?
  4. What is the most appropriate benefit of efforts such as OpenTitan and Caliptra that publish the designs of root-of-trust circuits?
  5. Which correctly describes the mechanism of DICE (Device Identifier Composition Engine) defined by the TCG?