A structure to hold recryption-related data inside the Context.
More...
#include <recryption.h>
|
static void | setAE (long &e, long &ePrime, const Context &context) |
| Helper function for computing the recryption parameters. More...
|
|
A structure to hold recryption-related data inside the Context.
◆ RecryptData()
helib::RecryptData::RecryptData |
( |
| ) |
|
|
inline |
◆ init()
void helib::RecryptData::init |
( |
const Context & |
context, |
|
|
const NTL::Vec< long > & |
mvec_, |
|
|
bool |
enableThick, |
|
|
bool |
build_cache = false , |
|
|
bool |
minimal = false |
|
) |
| |
Initialize the recryption data in the context.
◆ operator!=()
bool helib::RecryptData::operator!= |
( |
const RecryptData & |
other | ) |
const |
|
inline |
◆ operator==()
bool helib::RecryptData::operator== |
( |
const RecryptData & |
other | ) |
const |
◆ setAE()
void helib::RecryptData::setAE |
( |
long & |
e, |
|
|
long & |
ePrime, |
|
|
const Context & |
context |
|
) |
| |
|
static |
Helper function for computing the recryption parameters.
◆ alMod
std::shared_ptr<const PAlgebraMod> helib::RecryptData::alMod = nullptr |
for plaintext space p^{e-e'+r}
◆ alsoThick
bool helib::RecryptData::alsoThick |
◆ build_cache
bool helib::RecryptData::build_cache |
long helib::RecryptData::e |
partition of m into co-prime factors
skey encrypted wrt space p^{e-e'+r}
◆ ea
std::shared_ptr<const EncryptedArray> helib::RecryptData::ea = nullptr |
for plaintext space p^{e-e'+r}
◆ ePrime
long helib::RecryptData::ePrime |
◆ firstMap
std::shared_ptr<const EvalMap> helib::RecryptData::firstMap = nullptr |
◆ mvec
NTL::Vec<long> helib::RecryptData::mvec |
Some data members that are only used for I/O.
◆ p2dConv
std::shared_ptr<const PowerfulDCRT> helib::RecryptData::p2dConv = nullptr |
conversion between ZZX and Powerful
◆ secondMap
std::shared_ptr<const EvalMap> helib::RecryptData::secondMap = nullptr |
◆ skHwt
long helib::RecryptData::skHwt |
Hamming weight of recryption secret key.
◆ unpackSlotEncoding
std::vector<NTL::ZZX> helib::RecryptData::unpackSlotEncoding |
linPolys for unpacking the slots