22.04.2014 Views

a590003

a590003

a590003

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

We can now plug in what we know about c 1 , c 2 from Eq. (1) in the lemma statement:<br />

⌊ q<br />

⌊ q<br />

⟨˜c add , ˜s i ⟩ = · m 1 + e 1 + · m 2 + e 2 (mod q)<br />

⌊<br />

2⌋<br />

2⌋<br />

q<br />

= · [m 1 + m 2 ]<br />

2⌋<br />

2<br />

− ˜m + e 1 + e<br />

} {{ } 2 , (mod q)<br />

δ 2<br />

where ˜m ∈ {0, 1} is defined as:<br />

{<br />

˜m <br />

and |δ 2 | ≤ 1 + 2E.<br />

Putting it all together,<br />

Where the bound on e add is<br />

0, if q is even,<br />

1<br />

2 · (m 1 + m 2 − [m 1 + m 2 ] 2<br />

), if q is odd,<br />

⌊ q<br />

⟨c add , (1, s i )⟩ =<br />

2⌋<br />

· [m 1 + m 2 ] 2<br />

+ δ 1 + δ 2<br />

} {{ }<br />

=e add<br />

(mod q) .<br />

|e add | = |δ 1 + δ 2 | ≤ O(n 2 log 3 q) · B + O(1) · E ≤ O(n log q) · max { E, (n log 2 q) · B } .<br />

This finishes the argument for addition.<br />

Analysis for Multiplication.<br />

The analysis for multiplication starts very similarly to addition:<br />

and as before<br />

⟨c mult , (1, s i )⟩ = ⟨˜c mult , ˜s i ⟩ + ⟨BitDecomp(˜c mult ), e i−1:i ⟩<br />

} {{ }<br />

δ 1<br />

(mod q) ,<br />

|δ 1 | = O(n 2 log 3 q) · B .<br />

Let us now focus on ⟨˜c mult , ˜s i ⟩. We want to use the properties of tensoring to break the inner<br />

product into two smaller inner products, as we did before. This time, however, ˜c mult is a rounded<br />

tensor:<br />

⟨ ⌊ ⌉<br />

2<br />

⟩<br />

⟨˜c, ˜s i ⟩ =<br />

q · (PowersOfTwo(c 1) ⊗ PowersOfTwo(c 2 )) , ˜s i−1 (mod q) .<br />

We start by showing that the rounding does not add much noise. Intuitively this is because<br />

˜s i−1 is a binary vector and thus has low norm. We define<br />

⟨ ⌊ ⌉<br />

2<br />

⟩<br />

δ 2 <br />

q · (PowersOfTwo(c 1) ⊗ PowersOfTwo(c 2 )) , ˜s i−1<br />

⟨ 2<br />

⟩<br />

−<br />

q · (PowersOfTwo(c 1) ⊗ PowersOfTwo(c 2 )), ˜s i−1 ,<br />

and for convenience we also define<br />

⌊ ⌉<br />

2<br />

c ′ <br />

q · (PowersOfTwo(c 1) ⊗ PowersOfTwo(c 2 ))<br />

− 2 q · (PowersOfTwo(c 1) ⊗ PowersOfTwo(c 2 )) .<br />

15<br />

6. FHE without Modulus Switching

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!