Template Function lbcrypto::GenCryptoContext
Defined in File gen-cryptocontext.h
Function Documentation
-
template<typename T>
T::ContextType lbcrypto::GenCryptoContext(const CCParams<T> ¶ms) Generates a crypto context from a set of scheme parameters by delegating to the generator class T (CryptoContextCKKSRNS, CryptoContextBFVRNS or CryptoContextBGVRNS); see the usage notes at the top of this file.
- Template Parameters
T – the scheme-specific context generator class
- Parameters
params – the parameter object for the scheme
- Returns
the generated crypto context (T::ContextType)