• Home
  • Search
  • HEaaN.MLIR: An Optimizing Compiler for Fast Ring-Based Homomorphic Encryption
  • Cite Icon8
  • https://doi.org/10.1145/3591228Copy DOI Icon

HEaaN.MLIR: An Optimizing Compiler for Fast Ring-Based Homomorphic Encryption

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Homomorphic encryption (HE) is an encryption scheme that provides arithmetic operations on the encrypted data without doing decryption. For Ring-based HE, an encryption scheme that uses arithmetic operations on a polynomial ring as building blocks, performance improvement of unit HE operations has been achieved by two kinds of efforts. The first one is through accelerating the building blocks, polynomial operations. However, it does not facilitate optimizations across polynomial operations such as fusing two polynomial operations. The second one is implementing highly optimized HE operations in an amalgamated manner. The written codes have superior performance, but they are hard to maintain. To resolve these challenges, we propose HEaaN.MLIR, a compiler that performs optimizations across polynomial operations. Also, we propose Poly and ModArith, compiler intermediate representations (IRs) for integer polynomial arithmetic and modulus arithmetic on integer arrays. HEaaN.MLIR has compiler optimizations that are motivated by manual optimizations that HE developers do. These include optimizing modular arithmetic operations, fusing loops, and vectorizing integer arithmetic instructions. HEaaN.MLIR can parse a program consisting of the Poly and ModArith instructions and generate a high-performance, multithreaded machine code for a CPU. Our experiment shows that the compiled operations outperform heavily optimized open-source and commercial HE libraries by up to 3.06x in a single thread and 4.55x in multiple threads.

Similar Papers
  • Research Article
  • Citations41

MemFHE: End-to-end Computing with Fully Homomorphic Encryption in Memory

  • Mar 27, 2024
  • ACM Transactions on Embedded Computing Systems
  • Saransh Gupta +2
  • Research Article
  • Citations1316

A Survey on Homomorphic Encryption Schemes

  • Jul 25, 2018
  • ACM Computing Surveys
  • Abbas Acar +3
  • PDF
  • Research Article

CRT representation of LWE Based TFHE

  • Apr 05, 2025
  • Computational and Applied Mathematics
  • Mehmet Özen +3
  • PDF
  • Research Article
  • Citations23

Leveraging Searchable Encryption through Homomorphic Encryption: A Comprehensive Analysis

  • Jul 01, 2023
  • Mathematics
  • Ivone Amorim +1
  • Research Article
  • Citations16

An efficient medical image encryption algorithm for telemedicine applications

  • Aug 09, 2023
  • Microprocessors and Microsystems
  • K Prabhavathi +2
  • Research Article
  • Citations1

FHE Implementation of Data in Cloud Computing

  • Apr 30, 2017
  • International Journal of Advanced Research in Computer Science
  • Mohammad Miyan
  • Research Article

PRIVACY-PRESERVING TECHNIQUES IN BIG DATA AND INFORMATION SECURITY

  • Sep 01, 2024
  • ICTACT Journal on Communication Technology
  • Murugesan S +3
  • Research Article
  • Citations15

An efficient fully homomorphic symmetric encryption algorithm

  • Jan 11, 2020
  • Multimedia Tools and Applications
  • Khalil Hariss +2
  • Conference Article
  • Citations1051

Can homomorphic encryption be practical?

  • Oct 21, 2011
  • Michael Naehrig +2
  • PDF
  • Research Article
  • Citations14

A Novel Secure Scheme for Supporting Complex SQL Queries over Encrypted Databases in Cloud Computing

  • Jul 03, 2018
  • Security and Communication Networks
  • Guoxiu Liu +4
  • Conference Article
  • Citations1

Arithmetic Operations on Encrypted Data using Fully Homomorphic Encryption

  • Dec 01, 2017
  • Shiji Mariam Mathew +1
  • Research Article
  • Citations8

Applications of Homomorphic Encryption in Secure Computation

  • Jul 29, 2024
  • Open Research Europe
  • Elissa Mollakuqe +7
  • Conference Article
  • Citations7

A framework for investigating the performance of sum aggregations over encrypted data warehouses

  • Apr 13, 2015
  • Claudivan Cruz Lopes +1
  • Conference Article
  • Citations13

Building Applications with Homomorphic Encryption

  • Oct 15, 2018
  • Roger A Hallman +6
  • Dissertation
  • Citations1

GPUHElib and DistributedHElib: Distributed Computing Variants of HElib, a Homomorphic Encryption Library

  • Jul 24, 2015
  • Ethan Andrew Frame
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.