Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Choi, Wonseok, Kim, Jongmin, Ahn, Jung Ho
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913994184327168
author Choi, Wonseok
Kim, Jongmin
Ahn, Jung Ho
author_facet Choi, Wonseok
Kim, Jongmin
Ahn, Jung Ho
contents Fully homomorphic encryption (FHE) frees cloud computing from privacy concerns by enabling secure computation on encrypted data. However, its substantial computational and memory overhead results in significantly slower performance compared to unencrypted processing. To mitigate this overhead, we present Cheddar, a high-performance FHE library for GPUs, achieving substantial speedups over previous GPU implementations. We systematically enable 32-bit FHE execution, leveraging the 32-bit integer datapath within GPUs. We optimize GPU kernels using efficient low-level primitives and algorithms tailored to specific GPU architectures. Further, we alleviate the memory bandwidth burden by adjusting common FHE operational sequences and extensively applying kernel fusion. Cheddar delivers performance improvements of 2.18--4.45$\times$ for representative FHE workloads compared to state-of-the-art GPU implementations.
format Preprint
id arxiv_https___arxiv_org_abs_2407_13055
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures
Choi, Wonseok
Kim, Jongmin
Ahn, Jung Ho
Cryptography and Security
Performance
Fully homomorphic encryption (FHE) frees cloud computing from privacy concerns by enabling secure computation on encrypted data. However, its substantial computational and memory overhead results in significantly slower performance compared to unencrypted processing. To mitigate this overhead, we present Cheddar, a high-performance FHE library for GPUs, achieving substantial speedups over previous GPU implementations. We systematically enable 32-bit FHE execution, leveraging the 32-bit integer datapath within GPUs. We optimize GPU kernels using efficient low-level primitives and algorithms tailored to specific GPU architectures. Further, we alleviate the memory bandwidth burden by adjusting common FHE operational sequences and extensively applying kernel fusion. Cheddar delivers performance improvements of 2.18--4.45$\times$ for representative FHE workloads compared to state-of-the-art GPU implementations.
title Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures
topic Cryptography and Security
Performance
url https://arxiv.org/abs/2407.13055