|
static void | printAllParmSets (std::ostream &out) |
|
static void | printParmSet (std::ostream &out, string parmset) |
|
static void | printAllParmSetNames (std::ostream &out) |
|
static void | printParmSetNamesByFilter (std::ostream &out, const string &filter) |
|
static void | printParmSetNamesByFilters (std::ostream &out, std::initializer_list< std::string > filters) |
|
static void | printParmSetNamesByExcludeFilter (std::ostream &out, const string &filter) |
|
static void | printParmSetNamesByExcludeFilters (std::ostream &out, std::initializer_list< std::string > filters) |
|
static CryptoContext< Poly > | getNewContext (const string &parmsetname, EncodingParams p=0) |
|
static CryptoContext< DCRTPoly > | getNewDCRTContext (const string &parmsetname, usint numTowers, usint primeBits) |
|
template<typename Element > |
static CryptoContext< Element > | ContextFromAppProfile (const string &scheme, PlaintextModulus ptm, usint nA, usint nM, usint nK, usint maxD, float secFactor) |
|
◆ getNewContext()
CryptoContext< Poly > lbcrypto::CryptoContextHelper::getNewContext |
( |
const string & |
parmsetname, |
|
|
EncodingParams |
p = 0 |
|
) |
| |
|
static |
Generate a CryptoContext for a given parameter set name
- Parameters
-
parmsetname | name of parameter set to use |
- Returns
- newly constructed CryptoContext, or null on failure
◆ getNewDCRTContext()
CryptoContext< DCRTPoly > lbcrypto::CryptoContextHelper::getNewDCRTContext |
( |
const string & |
parmsetname, |
|
|
usint |
numTowers, |
|
|
usint |
primeBits |
|
) |
| |
|
static |
Generate a DCRT CryptoContext for a given parameter set name
- Parameters
-
parmsetname | name of parameter set to use |
numTowers | - how many towers to generate |
primeBits | - bit width of the primes in the towers |
- Returns
- newly constructed CryptoContext, or null on failure
◆ printAllParmSetNames()
void lbcrypto::CryptoContextHelper::printAllParmSetNames |
( |
std::ostream & |
out | ) |
|
|
static |
◆ printAllParmSets()
void lbcrypto::CryptoContextHelper::printAllParmSets |
( |
std::ostream & |
out | ) |
|
|
static |
◆ printParmSet()
void lbcrypto::CryptoContextHelper::printParmSet |
( |
std::ostream & |
out, |
|
|
string |
parmset |
|
) |
| |
|
static |
- Parameters
-
out | stream to write to |
parmset | parameter set name |
◆ printParmSetNamesByExcludeFilter()
void lbcrypto::CryptoContextHelper::printParmSetNamesByExcludeFilter |
( |
std::ostream & |
out, |
|
|
const string & |
filter |
|
) |
| |
|
static |
Prints all parameter sets excluding the ones matching the filter
- Parameters
-
out | stream to write to |
filter | is a substring that matches parameter set names |
◆ printParmSetNamesByExcludeFilters()
void lbcrypto::CryptoContextHelper::printParmSetNamesByExcludeFilters |
( |
std::ostream & |
out, |
|
|
std::initializer_list< std::string > |
filters |
|
) |
| |
|
static |
Prints all parameter sets excluding the ones matching one of the filters
- Parameters
-
out | stream to write to |
filters | a list of substrings that matches parameter set names |
◆ printParmSetNamesByFilter()
void lbcrypto::CryptoContextHelper::printParmSetNamesByFilter |
( |
std::ostream & |
out, |
|
|
const string & |
filter |
|
) |
| |
|
static |
Prints all parameter sets matching the filter
- Parameters
-
out | stream to write to |
filter | is a substring that matches parameter set names |
◆ printParmSetNamesByFilters()
void lbcrypto::CryptoContextHelper::printParmSetNamesByFilters |
( |
std::ostream & |
out, |
|
|
std::initializer_list< std::string > |
filters |
|
) |
| |
|
static |
Prints all parameter sets matching one of the filters
- Parameters
-
out | stream to write to |
filters | is a list of substrings that matches parameter set names |
The documentation for this class was generated from the following files: