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.
Added an HRA-secure PRE example.
Renamed multiHopModSize with PRENumHops. So instead of asking for the bound on ciphertext modulus, OpenFHE now asks for the number of PRE hops to be supported in the case of HRA-secure PRE.
Fixed the noise switching estimate for BV keyswitching in BFV (added a multiplicative factor of 0.5).
The HRA-secure PRE is based on the algorithms proposed in https://eprint.iacr.org/2024/681
The following changes have been made:
Related issues: #789 and #791