CIPHERMATCH: Accelerating Homomorphic Encryption-Based String Matching via Memory-Efficient Data Packing and In-Flash Processing
Homomorphic encryption (HE) allows secure computation on encrypted data without revealing the original data, providing significant benefits for privacy-sensitive applications. Many cloud computing applications (e.g., DNA read mapping, biometric matching, web search) use exact string matching as a key operation. However, prior string matching algorithms that use homomorphic encryption are limited by high computational latency caused by the use of complex operations and data movement bottlenecks due to the large encrypted data size. In this work, we provide an efficient algorithm-hardware codesign to accelerate HE-based secure exact string matching. We propose CIPHERMATCH, which (i) reduces the increase in memory footprint after encryption using an optimized software-based data packing scheme, (ii) eliminates the use of costly homomorphic operations (e.g., multiplication and rotation), and (iii) reduces data movement by designing a new in-flash processing (IFP) architecture.
Authors
- Mohammad Sadrosadati (ORCID: https://orcid.org/0000-0002-4029-0175)
- Haiyu Mao (ORCID: https://orcid.org/0000-0002-7393-4504)
- Mayank Kabra (ORCID: https://orcid.org/0009-0000-2304-3124)
- Yu Liang (ORCID: https://orcid.org/0000-0002-7754-9427)
- Rakesh Nadig (ORCID: https://orcid.org/0000-0002-4709-2323)
- Onur Mutlu (ORCID: https://orcid.org/0000-0002-0075-2312)
- Rahul Bera (ORCID: https://orcid.org/0000-0003-1129-1889)
- Manos Frouzakis (ORCID: https://orcid.org/0009-0001-2536-7082)
- Harshita Gupta
- Vamanan Arulchelvan (ORCID: https://orcid.org/0009-0008-5623-2376)
Institutions
- King's College London (GB)
- ETH Zurich (CH)
Publication Details
- Published
- 2025-03-27
- DOI
- https://doi.org/10.1145/3676641.3716251
- Citations
- 2
- Primary Topic
- Cryptography and Data Security
- Type
- article
- Field-Weighted Citation Impact
- 4.96