helib::ThinRecryptData Class Reference
Same as above, but for "thin" bootstrapping, where the slots are assumed to contain constants. More...
#include <recryption.h>
Inheritance diagram for helib::ThinRecryptData:

Public Member Functions | |
void | init (const Context &context, const NTL::Vec< long > &mvec_, bool alsoThick, long t=0, bool build_cache=false, bool minimal=false) |
Initialize the recryption data in the context. More... | |
![]() | |
RecryptData () | |
void | init (const Context &context, const NTL::Vec< long > &mvec_, bool enableThick, long t=0, bool build_cache=false, bool minimal=false) |
Initialize the recryption data in the context. More... | |
bool | operator== (const RecryptData &other) const |
bool | operator!= (const RecryptData &other) const |
Public Attributes | |
std::shared_ptr< const ThinEvalMap > | coeffToSlot |
linear maps More... | |
std::shared_ptr< const ThinEvalMap > | slotToCoeff |
![]() | |
NTL::Vec< long > | mvec |
Some data members that are only used for I/O. More... | |
long | e |
partition of m into co-prime factors More... | |
long | ePrime |
long | skHwt |
Hamming weight of recryption secret key. More... | |
std::shared_ptr< const PAlgebraMod > | alMod |
for plaintext space p^{e-e'+r} More... | |
std::shared_ptr< const EncryptedArray > | ea |
for plaintext space p^{e-e'+r} More... | |
bool | build_cache |
std::shared_ptr< const EvalMap > | firstMap |
linear maps More... | |
std::shared_ptr< const EvalMap > | secondMap |
std::shared_ptr< const PowerfulDCRT > | p2dConv |
conversion between ZZX and Powerful More... | |
std::vector< NTL::ZZX > | unpackSlotEncoding |
linPolys for unpacking the slots More... | |
Additional Inherited Members | |
![]() | |
static long | setAE (long &e, long &ePrime, const Context &context, long t=0) |
Helper function for computing the recryption parameters. More... | |
![]() | |
static constexpr long | defSkHwt = 100 |
default Hamming weight of recryption key More... | |
Detailed Description
Same as above, but for "thin" bootstrapping, where the slots are assumed to contain constants.
Member Function Documentation
◆ init()
void helib::ThinRecryptData::init | ( | const Context & | context, |
const NTL::Vec< long > & | mvec_, | ||
bool | alsoThick, | ||
long | t = 0 , |
||
bool | build_cache = false , |
||
bool | minimal = false |
||
) |
Initialize the recryption data in the context.
Member Data Documentation
◆ coeffToSlot
std::shared_ptr<const ThinEvalMap> helib::ThinRecryptData::coeffToSlot |
linear maps
◆ slotToCoeff
std::shared_ptr<const ThinEvalMap> helib::ThinRecryptData::slotToCoeff |