Template Class ILParamsImpl
Defined in File ilparams.h
Inheritance Relationships
Base Type
public lbcrypto::ElemParams< IntType >
(Template Class ElemParams)
Template Parameter Order
typename IntType
Class Documentation
-
template<typename IntType>
class lbcrypto::ILParamsImpl : public lbcrypto::ElemParams<IntType> Inheritence diagram for lbcrypto::ILParamsImpl:
Collaboration diagram for lbcrypto::ILParamsImpl:
Public Functions
-
inline constexpr ILParamsImpl()
-
~ILParamsImpl() override = default
-
inline explicit ILParamsImpl(uint32_t order, uint32_t bits = MAX_MODULUS_SIZE)
Constructor for the case of partially pre-computed parameters.
- Parameters
&order – the order of the ciphertext.
&modulus – the ciphertext modulus.
&rootOfUnity – the root of unity used in the ciphertext.
bigModulus – the big ciphertext modulus.
bigRootOfUnity – the big ciphertext modulus used for bit packing operations.
- Returns
-
inline ILParamsImpl(uint32_t order, const IntType &modulus, const IntType &rootOfUnity, const IntType &bigModulus, const IntType &bigRootOfUnity)
-
inline ILParamsImpl(const ILParamsImpl &rhs)
Copy constructor.
- Parameters
&rhs – the input set of parameters which is copied.
-
inline ILParamsImpl &operator=(const ILParamsImpl &rhs)
Copy Assignment Operator.
- Parameters
&rhs – the params to be copied.
- Returns
this object
-
inline ILParamsImpl(ILParamsImpl &&rhs) noexcept
Move constructor.
- Parameters
&rhs – the input set of parameters which is copied.
-
inline ILParamsImpl &operator=(ILParamsImpl &&rhs) noexcept
-
inline virtual bool operator==(const ElemParams<IntType> &rhs) const override
Equality operator compares ElemParams (which will be dynamic casted)
- Parameters
&rhs – is the specified Poly to be compared with this Poly.
- Returns
True if this Poly represents the same values as the specified DCRTPoly, False otherwise
-
inline virtual std::string SerializedObjectName() const override
Public Static Functions
-
static inline uint32_t SerializedVersion()
-
inline constexpr ILParamsImpl()