openfheorg / openfhe-development

This is the development repository for the OpenFHE library. The current (stable) version is v1.2.0 (released on June 25, 2024).
BSD 2-Clause "Simplified" License
663 stars 170 forks source link

Update the HRA-secure BGV PRE implementation #767

Closed yspolyakov closed 1 month ago

yspolyakov commented 2 months ago

Bring the HRA-Secure PRE implementation in sync with the parameter selection method described in https://eprint.iacr.org/2024/681 @pascoec

yspolyakov commented 1 month ago

The following changes have been made:

  1. The noise estimation logic has been updated to support HRA-secure PRE w/o any other homomorphic operations. The modulus size is now determined by the value of the noise flooding parameter.
  2. Added an HRA-secure example.
  3. Renamed multiHopModSize with PRENumHops. So instead of asking for the bound on ciphertext modulus, OpenFHE is now asking for the number of PRE hops to be supported in the case of HRA-secure PRE.