Abstract
This paper presents two novel lattice-based algorithms designed to solve the Chinese Remainder Theorem (CRT) variant of the Approximate Greatest Common Divisor (ACD) problem, specifically the CCK-ACD variant used in batch fully homomorphic encryption (FHE). By leveraging the Orthogonal Lattice Attack (OLA) and Simultaneous Diophantine Approximation (SDA), the authors provide the first complexity analysis that explicitly depends on the size of secret primes ($\eta$) and the total bit-length of samples ($\gamma$). These results offer a more rigorous foundation for parameter selection in integer-based FHE schemes.
Introduction
The Approximate Greatest Common Divisor (ACD) problem is a fundamental cryptographic primitive, serving as the security basis for various Fully Homomorphic Encryption (FHE) schemes over integers. To improve efficiency, researchers often employ a variant known as the CCK-ACD problem (named after Cheon, Coron, and Kim), which utilizes the Chinese Remainder Theorem to "batch" multiple messages into a single ciphertext.
While batching significantly enhances performance, the security implications of this specific variant were historically less understood than the standard ACD problem. Previous cryptanalysis primarily focused on the noise or error bound ($\rho$), leaving a gap in understanding how the size of secret primes ($\eta$) and the total bit-length ($\gamma$) influence the system's resistance to attacks. This research bridges that gap by introducing two algorithms that target the decisional and search versions of the CCK-ACD problem.
The CCK-ACD Problem and Security Gaps
In the CCK-ACD problem, multiple secret primes are used to construct samples. This structure allows for parallel data processing but introduces a specific mathematical symmetry. Prior to this work, setting secure parameters for batch FHE was often an exercise in estimation, as there was no clear mathematical relationship between the time required to break the system and the variables $\eta$ and $\gamma$. Without explicit complexity bounds, practitioners risked either over-engineering parameters (leading to inefficiency) or under-estimating the threat of lattice-based attacks.
Proposed Algorithmic Approaches
The authors propose two distinct strategies to address the CCK-ACD problem: the Orthogonal Lattice Attack (OLA) and the Simultaneous Diophantine Approximation (SDA).
1. Orthogonal Lattice Attack (OLA)
The OLA is adapted to solve the decisional version of the problem—determining whether a given set of integers follows the CCK-ACD distribution or is merely random noise.
In standard ACD, an attacker might try to find the exact secret error vector. However, in the CRT variant, the presence of multiple secret primes creates a lattice populated with many similar short vectors, making isolation difficult. The authors' key insight is to use the determinant of the lattice as a distinguisher. They demonstrate that a lattice constructed from CCK-ACD samples possesses a significantly smaller volume (determinant) than a lattice constructed from random integers. This allows for a successful attack without the need to identify specific "needles" in the mathematical haystack.
2. Simultaneous Diophantine Approximation (SDA)
The SDA approach targets the search version of the problem, aiming to recover the secret primes themselves. This method involves two primary steps:
- Dual Instance Recovery: Using lattice reduction to find a "dual instance," which is a specific integer combination of the provided samples.
- Eigenvalue Computation: Once the dual instance is identified, the authors apply algebraic techniques to convert the modular equations into a linear algebra problem over the rationals. By computing the eigenvalues of the resulting system, they can "untangle" the CRT structure and recover all secret primes simultaneously.
Experimental Evaluation and Results
To validate these approaches, the authors conducted experiments using synthetic and toy parameters. Synthetic samples were generated with bit-lengths ($\eta$) ranging from 200 to 1500 and total bit-lengths ($\gamma$) up to $10^5$. They also tested the algorithms against "toy" parameters from existing literature (e.g., Eurocrypt 2013) to benchmark performance against general-purpose attacks.
Key Findings
- Complexity Bounds: Both algorithms achieve a time complexity of $2^{\tilde{O}(\frac{\gamma}{(\eta-\rho)^2})}$. This represents the first time the complexity has been explicitly tied to the relationship between $\gamma$ and $\eta$ for this problem variant.
- Practicality of OLA: Experimental data suggests that the OLA is more practical for real-world application. For instance, the authors successfully distinguished CCK-ACD samples containing 100 secret primes with a total bit-length of 80,000 in approximately 13 hours on a standard PC.
- Security Refinement: The research demonstrates that in regimes where the error $\rho$ is large, the OLA can outperform the traditional "GCD attack," which was previously considered the primary security benchmark.
Conclusion
This work provides a critical update to the security landscape of batch FHE. By establishing explicit complexity bounds for the CCK-ACD problem, it allows cryptographers to select parameters with greater confidence.
However, limitations remain. As the number of secret primes ($n$) increases, recovering exact error vectors becomes exponentially more difficult, even if the system can be distinguished from random. Furthermore, the efficiency of these attacks is inherently tied to the state of lattice basis reduction algorithms (such as BKZ). Future research may focus on narrowing the efficiency gap between decisional and search-based attacks and optimizing the recovery process for instances with a high number of secret primes.
Summary updated