Paper 2024/665
Fast Homomorphic Evaluation of LWR-based PRFs
Abstract
Certain applications of fully homomorphic encryption (such as transciphering, universal thresholdizers, PIR, and ORAM) require randomness while operating over encrypted data. This randomness has to beobliviously generated in the encrypted domain and remain encrypted throughout the computation. Moreover, it should be guaranteed that independent-looking random coins can be obliviously generated for different computations. In this work, we consider the homomorphic evaluation of pseudorandom functions (PRFs) with a focus on practical lattice-based candidates. In the homomorphic PRF evaluation setting, given a fully homomorphic encryption of the PRF secret key $\vec{s}$, it should be possible to homomorphically compute encryptions of PRF evaluations $\{ \text{PRF}_{\vec{s}}(x_i) \}_{i=1}^M$ for public inputs $\{ x_i\}_{i=1}^M$. We consider this problem for PRF families based on the hardness of the Learning-With-Rounding (LWR) problem introduced by Banerjee, Peikert and Rosen (Eurocrypt 2012). We build on the random-oracle variant of a PRF construction suggested by Banerjee et al. and demonstrate that it can be evaluated using only two sequential programmable bootstraps in the TFHE homomorphic encryption scheme. We also describe several modifications of this PRF---which we prove as secure as the original function---that support homomorphic evaluations using only one programmable bootstrap per slot. Numerical experiments were conducted using practically relevant FHE parameter sets from the TFHE-rs library. Our benchmarks show that a throughput of about 1000 encrypted pseudorandom bits per second (resp. 900 encrypted pseudorandom bits per second) can be achieved on an AWS hpc7a.96xlarge machine (resp. on a standard laptop with an Apple M2 chip), on a single thread. The PRF evaluation keys in our experiments have sizes roughly $40\%$ and $60\%$ of a bootstrapping key.
Metadata
- Available format(s)
-
PDF
- Category
- Applications
- Publication info
- Published elsewhere. Minor revision. CCS 2025
- DOI
- 10.1145/3719027.3765177
- Keywords
- Fully homomorphic encryptionPseudorandom functionsLearning-with-roundingOblivious randomness generation
- Contact author(s)
-
amit deo @ zama ai
marc @ zama ai
benoit libert @ zama ai
ben curtis @ zama ai
mayeul debellabre @ zama ai - History
- 2025-09-16: last of 3 revisions
- 2024-04-30: received
- See all versions
- Short URL
- https://ia.cr/2024/665
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2024/665, author = {Amit Deo and Marc Joye and Benoit Libert and Benjamin R. Curtis and Mayeul de Bellabre}, title = {Fast Homomorphic Evaluation of {LWR}-based {PRFs}}, howpublished = {Cryptology {ePrint} Archive, Paper 2024/665}, year = {2024}, doi = {10.1145/3719027.3765177}, url = {https://eprint.iacr.org/2024/665} }