Paper 2023/1642

A New Perspective on Key Switching for BGV-like Schemes

Johannes Mono, Ruhr University Bochum
Tim Güneysu, Ruhr University Bochum, German Research Centre for Artificial Intelligence
Abstract

Fully homomorphic encryption is a promising approach when computing on encrypted data, especially when sensitive data is involved. For BFV, BGV, and CKKS, three state-of-the-art encryption schemes, the most costly homomorphic primitive is the so-called key switching. While a decent amount of research has been devoted to optimizing other aspects of these schemes, key switching has gone largely untouched. One exception has been a recent work [26] introducing a new double-decomposition technique. Its contributions are a great addition to the current state-of-the-art with one flaw: The authors take a skewed perspective on key switching parameters and their asymptotic complexity leading to incorrect conclusions about how effective their approach really is. In this work, we deep dive into key switching and correct, enhance, and improve the current state-of-the-art. We provide a new perspective on the key switching parameters $P$, $\omega$, and $\tilde\omega$ resulting in the asymptotic bounds $\mathcal{O}(\omega \ell)$ and $\mathcal{O}(\omega \ell / \tilde\omega + \tilde\omega \ell / \omega)$ for the single- and double-decomposition technique, respectively. We also revisit an idea by Gentry, Halevi, and Smart [18] to reduce the number of multiplications, which speeds up key switching by up to 63% and up to 11.6%, respectively.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
Keywords
fully homomorphic encryptionkey switchingparameter selectionBFVBGVCKKS
Contact author(s)
johannes mono @ rub de
tim gueneysu @ rub de
History
2024-06-04: last of 2 revisions
2023-10-23: received
See all versions
Short URL
https://ia.cr/2023/1642
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2023/1642,
      author = {Johannes Mono and Tim Güneysu},
      title = {A New Perspective on Key Switching for {BGV}-like Schemes},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1642},
      year = {2023},
      url = {https://eprint.iacr.org/2023/1642}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.