Paper 2024/203 Original: eprint.iacr.org/2024/203 ↗

Application-Aware Approximate Homomorphic Encryption: Configuring FHE for Practical Use

Andreea Alexandru
Ahmad Al Badawi
Daniele Micciancio
Yuriy Polyakov
Abstract

Fully Homomorphic Encryption (FHE) is a powerful tool for performing computations on encrypted data. The Cheon-Kim-Kim-Song (CKKS) scheme, an instantiation of approximate FHE, is particularly effective for privacy-preserving machine learning applications over real and complex numbers. Although CKKS offers clear efficiency advantages, confusion persists around accurately describing applications in FHE libraries and securely instantiating the scheme for these applications, particularly after the key recovery attacks by Li and Micciancio (EUROCRYPT'21) for the IND-CPA$^\text{D}$ setting. There is presently a gap between the application-agnostic, generic definition of IND-CPA$^\text{D}$, and efficient, application-specific instantiation of CKKS in software libraries, which led to recent attacks by Guo et al. (USENIX Security'24). To close this gap, we introduce the notion of application-aware homomorphic encryption (AAHE) and devise related security definitions. This model corresponds more closely to how FHE schemes are implemented and used in practice, and provides a mechanism to identify and address potential vulnerabilities in popular libraries. We then propose an application specification language (ASL) and formulate guidelines for implementing the AAHE model to achieve IND-CPA$^\text{D}$ security for practical applications of CKKS. We present a proof-of-concept implementation of the ASL in the OpenFHE library showing how the attacks by Guo et al. can be countered. Moreover, we show that our new model and ASL can be used for the secure and efficient instantiation of exact FHE schemes and to counter the recent IND-CPA$^\text{D}$ attacks by Cheon et al. (CCS'24) and Checri et al. (CRYPTO'24).

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
History
2026-01-09: last updated
2024-02-09: published
Short URL
https://ia.cr/2024/203
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2024/203,
      author = {Andreea Alexandru and Ahmad Al Badawi and Daniele Micciancio and Yuriy Polyakov},
      title = {Application-Aware Approximate Homomorphic Encryption: Configuring FHE for Practical Use},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/203},
      year = {2024},
      url = {https://eprint.iacr.org/2024/203}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.