On the Leakage Resilience of Ideal-Lattice Based Public Key Encryption

Dana Dachman-Soled, Huijing Gong, Mukul Kulkarni, Aria Shahverdi

Abstract

As the cryptographic community transitions toward post-quantum standards, Ring-Learning With Errors (Ring-LWE) has emerged as a primary candidate for secure communication due to its efficiency and small key sizes. However, the resilience of these schemes against physical side-channel attacks—where an adversary gains partial information about secret keys—has lacked a formal theoretical foundation in the context of structured rings. This paper addresses this gap by analyzing the leakage resilience of the R-Dual-Regev encryption scheme. By generalizing mathematical regularity theorems, the authors demonstrate that Ring-LWE-based encryption remains IND-CPA secure under various leakage scenarios, provided that noise parameters are appropriately adjusted. This work provides a quantitative framework for implementing side-channel-resistant post-quantum cryptography.

Introduction

The security of modern cryptographic systems often rests on the assumption that secret keys remain entirely private. In practice, however, hardware implementations are susceptible to side-channel attacks that leak information through power consumption, timing, or electromagnetic emissions. While standard lattice-based cryptography utilizes the Leftover Hash Lemma to prove leakage resilience, this tool is insufficient for Ring-LWE. The algebraic structure of the rings used in practice (such as power-of-two cyclotomics) prevents the public key from behaving like a truly random matrix, complicating security proofs.

This research explores whether these efficient schemes can survive real-world physical attacks by investigating three common leakage models: noisy measurements, fractional leakage, and magnitude leakage. The goal is to determine the necessary parameter adjustments to maintain security in the presence of such information leakage.

Methodology

The authors focus their analysis on the R-Dual-Regev encryption scheme. To overcome the limitations of the Leftover Hash Lemma in structured rings, they build upon and generalize a "Regularity Theorem" originally proposed by Lyubashevsky et al. This approach involves analyzing the probability density function (PDF) of the secret key after it has been conditioned on leaked information.

Leakage Scenarios

The study formalizes three distinct leakage models:

  1. Scenario I (Noisy Measurements): The attacker obtains a Gaussian-noised version of every coordinate of the secret key, representing "blurry" side-channel observations.
  2. Scenario II (Fractional Leakage): The attacker gains highly accurate measurements of a specific fraction of the key's coordinates while receiving no information about the remainder.
  3. Scenario III (Magnitude Leakage): The attacker learns the overall norm or "size" of the secret key vector, a common leak in implementations utilizing rejection sampling.

To establish security, the authors employ advanced Fourier analysis—specifically radial Fourier transforms for Scenario III—to prove that the public key remains indistinguishable from random noise even when conditioned on the leaked data.

Quantitative Results and Parameter Scaling

The core finding of the paper is that IND-CPA security is preserved across all scenarios if the standard deviation ($s$) of the noise used during key generation is increased. The required scaling factors are as follows:

  • Scenario I: Requires a modest increase in $s$ by a factor of $\sqrt{2}$.
  • Scenario II: Requires $s$ to scale based on the fraction of leaked coordinates; security is maintained as long as the unleaked portion remains sufficiently large.
  • Scenario III: Requires an increase in $s$ by a factor of approximately $\sqrt{\ln n}$.
Table 1: Parameter adjustments ($l, s, \xi, \gamma$) for the R-Dual-Regev scheme across different leakage scenarios compared to the original setting.
Table 2: Comparative analysis of noise parameters ($s$) and smoothing factors ($\xi, \gamma$) required to maintain security under various leakage conditions.

As shown in the tables above, the researchers provide specific parameter sets based on NIST-level security settings (e.g., $n = 1024$, $q \approx 4.29 \times 10^9$). These tables serve as a practical guide for engineers to calibrate noise levels based on the expected side-channel vulnerability of their target hardware.

Discussion and Conclusion

The research highlights that the mathematical structure of Ring-LWE is a double-edged sword: while it enables high performance, it necessitates more complex security proofs. The authors demonstrate that security holds as long as the secret key's distribution remains "wider" than the gaps in the underlying lattice—a property maintained by compensating for leakage with additional noise.

While this work provides a robust foundation for non-adaptive leakage, future research is needed to address adaptive leakage scenarios, where an attacker chooses what to leak after observing the public key. Additionally, the performance trade-offs associated with increased noise—such as higher decryption error rates or the need for larger moduli—warrant further optimization to ensure that leakage-resilient schemes remain competitive in real-world applications.

Summary updated

BibTeX
@article{dachmansoled2017leakage,
  author = {Dana Dachman-Soled and Huijing Gong and Mukul Kulkarni and Aria Shahverdi},
  title = {{On the Leakage Resilience of Ideal-Lattice Based Public Key Encryption}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2017},
  url = {https://openreview.net/forum?id=MDY6KQ4eL2},
}
Figure