Template Function lbcrypto::GenCryptoContext

Function Documentation

template<typename T>
T::ContextType lbcrypto::GenCryptoContext(const CCParams<T> &params)

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)