Table of Contents
Fetching ...

Accurate BGV Parameters Selection: Accounting for Secret and Public Key Dependencies in Average-Case Analysis

Beatrice Biasioli, Chiara Marcolla, Nadir Murru, Matilda Urani

TL;DR

A novel average-case approach that precisely models noise evolution and guides the selection of initial parameters, improving efficiency while ensuring security in the Brakerski-Gentry-Vaikuntanathan (BGV) scheme.

Abstract

The Brakerski-Gentry-Vaikuntanathan (BGV) scheme is one of the most significant fully homomorphic encryption (FHE) schemes. It belongs to a class of FHE schemes whose security is based on the presumed intractability of the Learning with Errors (LWE) problem and its ring variant (RLWE). Such schemes deal with a quantity, called noise, which increases each time a homomorphic operation is performed. Specifically, in order for the scheme to work properly, it is essential that the noise remains below a certain threshold throughout the process. For BGV, this threshold strictly depends on the ciphertext modulus, which is one of the initial parameters whose selection heavily affects both the efficiency and security of the scheme. For an optimal parameter choice, it is crucial to accurately estimate the noise growth, particularly that arising from multiplication, which is the most complex operation. In this work, we propose a novel average-case approach that precisely models noise evolution and guides the selection of initial parameters, improving efficiency while ensuring security. The key innovation of our method lies in accounting for the dependencies among ciphertext errors generated with the same key, and in providing general guidelines for accurate parameter selection that are library-independent.

Accurate BGV Parameters Selection: Accounting for Secret and Public Key Dependencies in Average-Case Analysis

TL;DR

A novel average-case approach that precisely models noise evolution and guides the selection of initial parameters, improving efficiency while ensuring security in the Brakerski-Gentry-Vaikuntanathan (BGV) scheme.

Abstract

The Brakerski-Gentry-Vaikuntanathan (BGV) scheme is one of the most significant fully homomorphic encryption (FHE) schemes. It belongs to a class of FHE schemes whose security is based on the presumed intractability of the Learning with Errors (LWE) problem and its ring variant (RLWE). Such schemes deal with a quantity, called noise, which increases each time a homomorphic operation is performed. Specifically, in order for the scheme to work properly, it is essential that the noise remains below a certain threshold throughout the process. For BGV, this threshold strictly depends on the ciphertext modulus, which is one of the initial parameters whose selection heavily affects both the efficiency and security of the scheme. For an optimal parameter choice, it is crucial to accurately estimate the noise growth, particularly that arising from multiplication, which is the most complex operation. In this work, we propose a novel average-case approach that precisely models noise evolution and guides the selection of initial parameters, improving efficiency while ensuring security. The key innovation of our method lies in accounting for the dependencies among ciphertext errors generated with the same key, and in providing general guidelines for accurate parameter selection that are library-independent.

Paper Structure

This paper contains 41 sections, 8 theorems, 87 equations, 5 figures, 3 tables.

Key Result

lemma 1

Let $\nu = \sum_{\iota} \sum_{\mu} b_{\mu}(\iota) e^{\mu}s^{\iota}$ be the critical quantity associated with a given ciphertext. Then, the following properties hold

Figures (5)

  • Figure 1: Distribution of the first coefficient of the fresh error
  • Figure 2: Distribution of the first coefficient just after a multiplication.
  • Figure 3: Error distribution after 3 multiplications without modulus switching.
  • Figure 4: Reference circuit
  • Figure 5: Comparison of $\log_2(q)$ in the circuit shown in \ref{['fig:circuit_mod']} (setting $D = 8$).

Theorems & Definitions (17)

  • definition 1
  • definition 2
  • definition 3
  • lemma 1
  • lemma 2
  • proposition 1: Encryption
  • proof
  • proposition 2: Addition & Constant Multiplication
  • proposition 3: Modulo Switch
  • theorem 1
  • ...and 7 more