{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,5]],"date-time":"2026-11-05T20:09:25Z","timestamp":1793909365014,"version":"4.8.0"},"reference-count":58,"publisher":"International Association for Cryptologic Research","issue":"4","license":[{"start":{"date-parts":[[2025,7,2]],"date-time":"2025-07-02T00:00:00Z","timestamp":1751414400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000121","name":"National Science Foundation","doi-asserted-by":"publisher","award":["DMS-2411704"],"award-info":[{"award-number":["DMS-2411704"]}],"id":[{"id":"10.13039\/100000121","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IACR CiC"],"accepted":{"date-parts":[[2025,12,1]]},"abstract":"<jats:p>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^D setting. There is presently a gap between the application-agnostic, generic definition of IND-CPA^D, and efficient, application-specific instantiation of CKKS in software libraries, which led to recent attacks by Guo et al. (USENIX Security'24).<\/jats:p>\n                  <jats:p>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-IND-CPA^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-IND-CPA^D attacks by Cheon et al. (CCS'24) and Checri et al. (CRYPTO'24).<\/jats:p>","DOI":"10.62056\/ayl83z10k","type":"journal-article","created":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T23:39:47Z","timestamp":1767915587000},"update-policy":"https:\/\/doi.org\/10.62056\/adfjwm02dj","source":"Crossref","is-referenced-by-count":7,"title":["Application-Aware Approximate Homomorphic Encryption"],"prefix":"10.62056","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5396-1241","authenticated-orcid":false,"given":"Andreea","family":"Alexandru","sequence":"first","affiliation":[{"id":[{"id":"https:\/\/ror.org\/027qwc485","id-type":"ROR","asserted-by":"publisher"}],"name":"Duality Technologies","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7759-7368","authenticated-orcid":false,"given":"Ahmad","family":"Al Badawi","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/027qwc485","id-type":"ROR","asserted-by":"publisher"}],"name":"Duality Technologies","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3323-9985","authenticated-orcid":false,"given":"Daniele","family":"Micciancio","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/0168r3w48","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, San Diego","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5566-3763","authenticated-orcid":false,"given":"Yuriy","family":"Polyakov","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/027qwc485","id-type":"ROR","asserted-by":"publisher"}],"name":"Duality Technologies","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"48349","published-online":{"date-parts":[[2026,1,8]]},"reference":[{"key":"ref1:STOC:Gentry09","doi-asserted-by":"publisher","first-page":"169","DOI":"10.1145\/1536414.1536440","article-title":"Fully homomorphic encryption using ideal lattices","author":"Craig Gentry","year":"2009"},{"key":"ref2:ITCS:BraGenVai12","doi-asserted-by":"publisher","first-page":"309","DOI":"10.1145\/2090236.2090262","article-title":"(Leveled) fully homomorphic encryption without\n  bootstrapping","author":"Zvika Brakerski","year":"2012"},{"key":"ref3:C:Brakerski12","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"868","DOI":"10.1007\/978-3-642-32009-5_50","article-title":"Fully Homomorphic Encryption without Modulus Switching from\n  Classical GapSVP","volume":"7417","author":"Zvika Brakerski","year":"2012"},{"key":"ref4:EPRINT:FanVer12","volume-title":"Somewhat Practical Fully Homomorphic Encryption","author":"Junfeng Fan","year":"2012"},{"key":"ref5:EC:DucMic15","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"617","DOI":"10.1007\/978-3-662-46800-5_24","article-title":"FHEW: Bootstrapping Homomorphic Encryption in Less Than a\n  Second","volume":"9056","author":"L\u00e9o Ducas","year":"2015"},{"key":"ref6:AC:CGGI17","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"377","DOI":"10.1007\/978-3-319-70694-8_14","article-title":"Faster Packed Homomorphic Operations and Efficient Circuit\n  Bootstrapping for TFHE","volume":"10624","author":"Ilaria Chillotti","year":"2017"},{"key":"ref7:EC:LMKCDE23","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"227","DOI":"10.1007\/978-3-031-30620-4_8","article-title":"Efficient FHEW Bootstrapping with Small Evaluation Keys,\n  and Applications to Threshold Homomorphic Encryption","volume":"14006","author":"Yongwoo Lee","year":"2023"},{"key":"ref8:AC:CKKS17","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"409","DOI":"10.1007\/978-3-319-70694-8_15","article-title":"Homomorphic Encryption for Arithmetic of Approximate\n  Numbers","volume":"10624","author":"Jung Hee Cheon","year":"2017"},{"key":"ref9:EC:LiMic21","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"648","DOI":"10.1007\/978-3-030-77870-5_23","article-title":"On the Security of Homomorphic Encryption on Approximate\n  Numbers","volume":"12696","author":"Baiyu Li","year":"2021"},{"key":"ref10:C:LMSS22","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"560","DOI":"10.1007\/978-3-031-15802-5_20","article-title":"Securing Approximate Homomorphic Encryption Using\n  Differential Privacy","volume":"13507","author":"Baiyu Li","year":"2022"},{"key":"ref11:seal","volume-title":"Microsoft SEAL v4.1","year":"2023"},{"key":"ref12:sealProceedings","isbn-type":"print","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1007\/978-3-319-70278-0_1","article-title":"Simple Encrypted Arithmetic Library - SEAL v2.1","author":"Hao Chen","year":"2017","ISBN":"https:\/\/id.crossref.org\/isbn\/9783319702780"},{"key":"ref13:openfhe","volume-title":"OpenFHE v1.2.3","year":"2024"},{"key":"ref14:cryptoeprint:2022\/915","doi-asserted-by":"publisher","DOI":"10.1145\/3560827.356337","volume-title":"OpenFHE: Open-Source Fully Homomorphic Encryption\n  Library","author":"Ahmad Al Badawi","year":"2022"},{"key":"ref15:helib","volume-title":"HElib v2.3","year":"2023"},{"key":"ref16:C:HalSho14","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"554","DOI":"10.1007\/978-3-662-44371-2_31","article-title":"Algorithms in HElib","volume":"8616","author":"Shai Halevi","year":"2014"},{"key":"ref17:EPRINT:CheHonKim20","volume-title":"Remark on the Security of CKKS Scheme in Practice","author":"Jung Hee Cheon","year":"2020"},{"key":"ref18:lattigo","volume-title":"Lattigo v5","year":"2023"},{"key":"ref19:mouchet2020lattigo","doi-asserted-by":"publisher","first-page":"64","DOI":"10.25835\/0072999","article-title":"Lattigo: A multiparty homomorphic encryption library in go","author":"Christian Vincent Mouchet","year":"2020"},{"key":"ref20:MP24CiC","doi-asserted-by":"publisher","DOI":"10.62056\/ay76c0kr","article-title":"A Central Limit Approach for Ring-LWE Noise Analysis","volume":"1","author":"Sean Murphy","year":"2024","journal-title":"IACR Communications in Cryptology","ISSN":"https:\/\/id.crossref.org\/issn\/3006-5496","issn-type":"electronic"},{"key":"ref21:SAC:CCHMOP23","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"325","DOI":"10.1007\/978-3-031-53368-6_16","article-title":"On the Precision Loss in Approximate Homomorphic\n  Encryption","volume":"14201","author":"Anamaria Costache","year":"2024"},{"key":"ref22:RSA:CosNurPla23","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"29","DOI":"10.1007\/978-3-031-30872-7_2","article-title":"Optimisations and Tradeoffs for HElib","volume":"13871","author":"Anamaria Costache","year":"2023"},{"key":"ref23:USENIX:GNSJ24","article-title":"Key Recovery Attacks on Approximate Homomorphic Encryption\n  with Non-Worst-Case Noise Flooding Countermeasures","author":"Qian Guo","year":"2024"},{"key":"ref24:folklore","author":"Flavio Bergamaschi","year":"2020"},{"key":"ref25:PQCRYPTO:DAnVerVer19","doi-asserted-by":"publisher","first-page":"103","DOI":"10.1007\/978-3-030-25510-7_6","article-title":"The Impact of Error Dependencies on Ring\/Mod-LWE\/LWR\n  Based Schemes","author":"Jan-Pieter D'Anvers","year":"2019"},{"key":"ref26:ICICS:MarFriSep20","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"331","DOI":"10.1007\/978-3-030-61078-4_19","article-title":"The Influence of LWE\/RLWE Parameters on the Stochastic\n  Dependence of Decryption Failures","volume":"11999","author":"Georg Maringer","year":"2020"},{"key":"ref27:C:CSBB24","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1007\/978-3-031-68382-4_1","article-title":"On the Practical $\\text{CPA}^{D}$ Security of \u201cexact\u201d and\n  Threshold FHE Schemes and Libraries","volume":"14922","author":"Marina Checri","year":"2024"},{"key":"ref28:CCS:CCPSS24","doi-asserted-by":"publisher","first-page":"2505","DOI":"10.1145\/3658644.3690341","article-title":"Attacks Against the IND-CPA$^{\\text{D}}$ Security of\n  Exact FHE Schemes","author":"Jung Hee Cheon","year":"2024"},{"key":"ref29:gentry2009phd","volume-title":"A fully homomorphic encryption scheme","author":"Craig Gentry","year":"2009"},{"key":"ref30:EC:DucSte16","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"294","DOI":"10.1007\/978-3-662-49890-3_12","article-title":"Sanitization of FHE Ciphertexts","volume":"9665","author":"L\u00e9o Ducas","year":"2016"},{"key":"ref31:CiC:Kluczniak24","doi-asserted-by":"publisher","first-page":"33","DOI":"10.62056\/av11c3w9p","article-title":"Circuit Privacy for FHEW\/TFHE-Style Fully Homomorphic\n  Encryption in Practice","volume":"1","author":"Kamil Kluczniak","year":"2024","journal-title":"CiC"},{"key":"ref32:CiC:KluSan25","doi-asserted-by":"publisher","first-page":"9","DOI":"10.62056\/a69qgyl7s","article-title":"On Circuit Private, Multikey and Threshold Approximate\n  Homomorphic Encryption","volume":"2","author":"Kamil Kluczniak","year":"2025","journal-title":"CiC"},{"key":"ref33:C:BPMW16","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"62","DOI":"10.1007\/978-3-662-53008-5_3","article-title":"FHE Circuit Privacy Almost for Free","volume":"9815","author":"Florian Bourse","year":"2016"},{"key":"ref34:EC:AJLTVW12","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"483","DOI":"10.1007\/978-3-642-29011-4_29","article-title":"Multiparty Computation with Low Communication, Computation\n  and Interaction via Threshold FHE","volume":"7237","author":"Gilad Asharov","year":"2012"},{"key":"ref35:knabenhansMS","volume-title":"Practical Integrity Protection for Private Computations","author":"Christian Knabenhans","year":"2022"},{"key":"ref36:TCC:AGHV22","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"70","DOI":"10.1007\/978-3-031-22365-5_3","article-title":"Achievable CCA2 Relaxation for Homomorphic Encryption","volume":"13748","author":"Adi Akavia","year":"2022"},{"key":"ref37:viand2023verifiable","series-title":"WAHC '24","isbn-type":"print","doi-asserted-by":"publisher","first-page":"11","DOI":"10.1145\/3689945.3694806","article-title":"vFHE: Verifiable Fully Homomorphic Encryption","author":"Christian Knabenhans","year":"2024","ISBN":"https:\/\/id.crossref.org\/isbn\/9798400712418"},{"key":"ref38:EC:ManNgu24","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"63","DOI":"10.1007\/978-3-031-58723-8_3","article-title":"Fully Homomorphic Encryption Beyond IND-CCA1 Security:\n  Integrity Through Verifiability","volume":"14652","author":"Mark Manulis","year":"2024"},{"key":"ref39:CiC:BCFPPR25","doi-asserted-by":"publisher","first-page":"20","DOI":"10.62056\/aee0iv7sf","article-title":"Relations Among New CCA Security Notions for Approximate\n  FHE","volume":"2","author":"Chris Brzuska","year":"2025","journal-title":"CiC"},{"key":"ref40:EC:BJSW25","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"181","DOI":"10.1007\/978-3-031-91101-9_7","article-title":"Drifting Towards Better Error Probabilities in Fully\n  Homomorphic Encryption Schemes","volume":"15608","author":"Olivier Bernard","year":"2025"},{"key":"ref41:EC:MicWal18","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1007\/978-3-319-78381-9_1","article-title":"On the Bit Security of Cryptographic Primitives","volume":"10820","author":"Daniele Micciancio","year":"2018"},{"key":"ref42:TCC:MicSch24","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"224","DOI":"10.1007\/978-3-031-78017-2_8","article-title":"Bit Security: Optimal Adversaries, Equivalence Results, and\n  a Toolbox for Computational-Statistical Security Analysis","volume":"15365","author":"Daniele Micciancio","year":"2024"},{"key":"ref43:C:GenSahWat13","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"75","DOI":"10.1007\/978-3-642-40041-4_5","article-title":"Homomorphic Encryption from Learning with Errors:\n  Conceptually-Simpler, Asymptotically-Faster, Attribute-Based","volume":"8042","author":"Craig Gentry","year":"2013"},{"key":"ref44:CiC:Micciancio25","doi-asserted-by":"publisher","first-page":"1","DOI":"10.62056\/ak5wl86bm","article-title":"Fully Composable Homomorphic Encryption","volume":"2","author":"Daniele Micciancio","year":"2025","journal-title":"CiC"},{"key":"ref45:RSA:KimPapPol22","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"120","DOI":"10.1007\/978-3-030-95312-6_6","article-title":"Approximate Homomorphic Encryption with Reduced\n  Approximation Error","volume":"13161","author":"Andrey Kim","year":"2022"},{"key":"ref46:openfhe-guidelines","volume-title":"CKKS Noise Flooding","year":"2024"},{"key":"ref47:EC:BMTH21","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"587","DOI":"10.1007\/978-3-030-77870-5_21","article-title":"Efficient Bootstrapping for Approximate Homomorphic\n  Encryption with Non-sparse Keys","volume":"12696","author":"Jean-Philippe Bossuat","year":"2021"},{"key":"ref48:helib-guidelines","volume-title":"Security of Approximate-Numbers Homomorphic Encrypt","year":"2024"},{"key":"ref49:10.1007\/978-3-030-21568-2_29","isbn-type":"print","doi-asserted-by":"publisher","first-page":"592","DOI":"10.1007\/978-3-030-21568-2_29","article-title":"Homomorphic Training of 30,000 Logistic Regression Models","author":"Flavio Bergamaschi","year":"2019","ISBN":"https:\/\/id.crossref.org\/isbn\/9783030215675"},{"key":"ref50:poc","volume-title":"PoC AAHE ASL Implementation using OpenFHE v1.2.3","author":"Andreea Alexandru","year":"2025"},{"key":"ref51:AC:KimPolZuc21","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"608","DOI":"10.1007\/978-3-030-92078-4_21","article-title":"Revisiting Homomorphic Encryption Schemes for Finite\n  Fields","volume":"13092","author":"Andrey Kim","year":"2021"},{"key":"ref52:RSA:HalPolSho19","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"83","DOI":"10.1007\/978-3-030-12612-4_5","article-title":"An Improved RNS Variant of the BFV Homomorphic\n  Encryption Scheme","volume":"11405","author":"Shai Halevi","year":"2019"},{"key":"ref53:EPRINT:HalSho20","volume-title":"Design and implementation of HElib: a homomorphic\n  encryption library","author":"Shai Halevi","year":"2020"},{"key":"ref54:HEIR","volume-title":"HEIR: Homomorphic Encryption Intermediate Representation","author":"HEIR Contributors","year":"2023"},{"key":"ref55:USENIX:FPSGW18","first-page":"657","article-title":"Practical Accountability of Secret Processes","author":"Jonathan Frankle","year":"2018"},{"key":"ref56:TFHE-rs","volume-title":"TFHE-rs: A Pure Rust Implementation of the TFHE Scheme for\n  Boolean and Integer Arithmetics Over Encrypted Data","author":"Zama","year":"2022"},{"key":"ref57:TFHELib","volume-title":"TFHE: Fast Fully Homomorphic Encryption Library","author":"Ilaria Chillotti"},{"key":"ref58:openfhe-estimator","volume-title":"OpenFHE Lattice Estimator","year":"2024"}],"container-title":["IACR Communications in Cryptology"],"original-title":[],"language":"en","deposited":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T23:41:19Z","timestamp":1767915679000},"score":1,"resource":{"primary":{"URL":"https:\/\/cic.iacr.org\/p\/2\/4\/3"}},"subtitle":["Configuring FHE for Practical Use"],"short-title":[],"issued":{"date-parts":[[2026,1,8]]},"references-count":58,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2026,1,8]]}},"URL":"https:\/\/doi.org\/10.62056\/ayl83z10k","archive":["Internet Archive","Internet Archive"],"relation":{},"ISSN":["3006-5496"],"issn-type":[{"value":"3006-5496","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,8]]},"assertion":[{"value":"2025-07-02","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-12-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"cc2-3-26"}}