Refined Security Estimation for LWE with Hints via a Geometric Approach

Dana Dachman-Soled, Huijing Gong, Tom Hanson, Hunter Kippen

Introduction

Lattice-based cryptography, particularly the Learning With Errors (LWE) problem, serves as the foundation for the next generation of secure communications. As the industry transitions toward post-quantum standards, accurately measuring the "hardness" of these problems is paramount. However, standard security estimates often assume an idealized attacker who only possesses public keys and ciphertexts. In practice, attackers frequently gain access to "hints"—additional information derived from side-channel leaks, power consumption, or decryption failures.

This paper proposes a fundamental shift in how we integrate these hints into security models. By moving from a probabilistic "distributional" view to a rigorous "geometric" perspective, the authors provide a more accurate and robust toolkit for predicting how cryptographic strength erodes in the face of real-world information leakage.

The Limitations of the Distributional Approach

The previous state-of-the-art for integrating hints into LWE security estimates was the "DBDD Toolkit" (Crypto ’20). This framework treats hints as updates to a multivariate Gaussian distribution. While effective in many scenarios, it suffers from two primary flaws:

  1. The Gaussian Assumption: Real-world side-channel data does not always follow a Gaussian distribution. If this assumption is violated, the resulting security estimate may be dangerously inaccurate.
  2. Lack of Rigorous Guarantees: The distributional approach is probabilistic; it suggests where a secret is likely to be, but it does not provide a hard guarantee that the secret remains within the predicted search space.

A Geometric Framework for DBDD

The authors re-imagine the Distorted Bounded Distance Decoding (DBDD) problem—a critical intermediate step in lattice reduction—through the lens of convex geometry. Instead of modeling the secret as a point in a probability distribution, they view it as a lattice point trapped inside a $d$-dimensional ellipsoid.

Hints as Geometric Constraints

In this geometric framework, different types of information are modeled as constraints on the ellipsoid:

  • Perfect Hints: These are treated as hyperplanes that intersect the ellipsoid, reducing its dimensionality.
  • Inequality Hints: These are modeled as halfspaces (e.g., the knowledge that a secret's inner product with a vector $v$ exceeds a certain threshold). This is particularly useful for modeling decryption failures.
  • Combined Hints: The framework allows for the fusion of two different ellipsoids—for example, one derived from side-channel power analysis and another from decryption failure data—into a single, tighter constraint.

The Löwner-John Method and Regeneration

Because the intersection of an ellipsoid and a halfspace does not naturally result in another ellipsoid, the authors utilize the Löwner-John method. This technique identifies the minimal volume ellipsoid that circumscribes the intersection, ensuring a rigorous "worst-case" guarantee: if the secret was in the original ellipsoid, it is guaranteed to be in the updated one.

To prevent the geometric update from "stalling"—a state where new hints no longer significantly shrink the ellipsoid—the authors developed a Regeneration Algorithm. This technique re-embeds the current ellipsoid center as a new hint into a fresh instance, maintaining the momentum of the security reduction.

Experimental Validation and Key Results

The authors validated their geometric approach using several benchmarks, including toy FrodoKEM parameters and the NIST Level 1 candidate Frodo-640.

Improved Accuracy and Efficiency

For "perfect hints," the geometric model provided more precise estimates of the required BKZ block size ($\beta$) than the distributional model, especially when hints were located far from the center of the distribution. In simulated fault-injection attacks on Frodo-640, the geometric approach proved significantly more efficient, requiring only 959–1224 hints to achieve the same security reduction that previously required 4000 hints.

Native Handling of Decryption Failures

Decryption failures are naturally modeled as inequalities. The geometric approach handles this data natively, whereas previous models had to force-fit this information into Gaussian parameters. The authors discovered that the geometric parameter $\alpha$ (the distance from the ellipsoid center to the hint's hyperplane) serves as an excellent proxy for the probability of a decryption failure. This enabled a "geometric failure boosting" technique, allowing attackers to identify all 34 decryption failures in a database of 100k ciphertexts in just 39,785 queries, compared to nearly 95,000 required by a linear scan.

Heterogeneous Data Fusion

The "Combined Hints" method demonstrated the ability to fuse information from disparate sources. By combining side-channel data with decryption failure data, the authors lowered estimated security levels by an additional 2-3 bikz (a standard unit of lattice hardness) compared to baseline methods.

Conclusion and Future Directions

By replacing probabilistic assumptions with geometric rigor, this research provides a more reliable framework for assessing the security of LWE-based systems against side-channel and fault attacks. While the current work focuses on minimal circumscribed ellipsoids to provide lower bounds on security, future research may explore maximal inscribed ellipsoids to provide upper bounds. Additionally, the authors note a compelling connection between this geometric approach and "state estimation" in control theory, suggesting that cross-disciplinary techniques like Kalman filters for non-Gaussian noise could further refine cryptographic security analysis.

Summary updated

BibTeX
@article{dachmansoled2022refined,
  author = {Dana Dachman-Soled and Huijing Gong and Tom Hanson and Hunter Kippen},
  title = {{Refined Security Estimation for LWE with Hints via a Geometric Approach}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2022},
  url = {https://openreview.net/forum?id=uFW69rF9oC},
}
Figure