Faster Homomorphic Linear Transformations in HElib
1. Introduction
2. Notations and Background
2.1 The BGV Cryptosystem
- BGV scheme の話
2.2 Encoding Vectors in Plaintext Slots
-
Fully Homomorphic SIMD Operations で packing が考案
-
CRT より
R_{p} \cong (\mathrm{GF}(p^{d}))^{h}\quad (dh = \phi(n))
なので, 平文空間を $\mathrm{GF(p^{d})}$ ともみれて, $h$ 個のslotsを並列に計算できる. ### Some useful automorphisms ${}^{\forall} j \in \mathbb{Z}_{n}^{*}$ はauto $a: R_{p} \ni X \to X_{j}$ をもつ - key-switchingが必要, これを使って, slotsの移動が出来る(rotation) $p \equiv 1 \pmod{n} \Rightarrow \Phi_{n}(X)$ は $\mathbb{Z}_{p}$ を完全に分ける のでR_{p} = \mathbb{Z}{p}[X]/(\Phi{n}(X)) \cong \mathrm{GF}(p)^{h}\quad (h = \phi(n))
[f(X) \bmod \phi_{n}(X)] \mapsto [f(\omega^{i})]{i \in \mathbb{Z}{n
$a$ によって[f(\omega^{i})] \mapsto [f(\omega
slotsでいうと $ij \mapsto i$ - 一般論: 巡回群構造 $\mathbb{Z}_{n}^{*}/\langle p \rangle$でrotationが出来る ex. - $\mathbb{Z}_{n}^{*}/\langle p \rangle \cong \mathbb{Z}_{3} \times \mathbb{Z}_{3}$ は9 slots(3 * 3行列) - rowとcol自由にroll出来る [[2022-10-18]] #todo 論文の方も読む ## 参考文献 - [Faster Homomorphic Linear Transformations in HElib - YouTube](https://www.youtube.com/watch?v=LXmGVPcCVag)