Abstract
Traditional Attribute-Based Encryption (ABE) schemes rely on Boolean circuit models, which necessitate linear decryption time relative to the database size. This paper introduces the first ABE scheme for Random Access Machine (RAM) programs based on the standard Learning With Errors (LWE) assumption. The proposed construction achieves sub-linear decryption complexity, $\tilde{O}(T)$, where $T$ is the program's runtime, effectively decoupling performance from the total database size $N$.
1. Introduction
In Attribute-Based Encryption (ABE), a secret key is associated with a function $P$, allowing a user to decrypt a ciphertext (associated with attribute $x$ and message $\mu$) only if $P(x) = 1$. A significant bottleneck in existing literature is the reliance on Boolean circuits to model $P$. For a database of size $N$, a circuit must process every bit, leading to a decryption complexity of at least $O(N)$. This linear dependency is impractical for large-scale data applications.
This work addresses this challenge by transitioning to the Random Access Machine (RAM) model. RAM programs can access specific memory locations non-sequentially, similar to modern computer architectures. The goal is to enable a decryptor to execute a RAM program over an encrypted database while only incurring costs proportional to the program's actual execution steps, rather than the total database size.
2. Methodology
The construction adapts techniques from Garbled RAMs into the ABE framework, utilizing three primary pillars:
- Lattice-Based Encodings: The scheme is built upon LWE-based encodings, extending the work of Boneh et al. to support more complex computational models.
- Selective Translation: To maintain sub-linearity, the decryptor does not translate the entire database into the encryption space. Instead, only the specific memory locations accessed by the RAM program during its execution are translated.
- Lattice Trapdoors for State Recoding: Linking sequential computational steps is a core difficulty in Garbled RAMs. The authors employ lattice trapdoors (GPV technique) to "recode" the internal state between steps of the RAM execution.
- Memory Management: For programs involving write operations, the database is treated as an append-only structure. A "last-write-aware" RAM compilation ensures that the decryptor always retrieves the most recent version of any given memory cell.
3. Comparative Analysis and Results
The primary achievement of this work is the realization of sub-linear decryption. As shown in the comparison below, prior circuit-based ABE schemes exhibit decryption complexities that scale with both the runtime $T$ and the database size $N$. In contrast, the proposed RAM-based schemes reduce this complexity to $\tilde{O}(T)$.
Key results include:
- Efficiency: Decryption time is $poly(T, \lambda)$, where $\lambda$ is the security parameter, making it independent of $N$.
- Parameter Independence: The size of public parameters and ciphertexts remains independent of the database size $N$, although they do scale with the maximum runtime $T$.
- Security Foundation: The scheme's security is proven under the LWE assumption with a sub-exponential modulus-to-noise ratio, providing a post-quantum resistant foundation.
4. Conclusion and Future Directions
While this work represents a major advancement, several open challenges remain. Currently, public parameters and ciphertext sizes grow with the maximum possible runtime $T$. Achieving parameters independent of $T$ would require succinct randomized encodings for Turing Machines, a significant open problem. Additionally, the secret key size in the primary construction still maintains a linear dependency on the database size $N$. Future research may also focus on optimizing "Dual ABE" variants, where the database is stored within the ciphertext, to reduce the current overhead in public key sizes.
Summary updated