HEaaN
Crypto Lab's great homomorphic encryption library
Public Types | Public Member Functions | Public Attributes | List of all members
HEaaN::CollectiveKeyGenConfig Struct Reference

Configuration for collective key generation on which key to generate. More...

#include <CollectiveKeyGenConfig.hpp>

Public Types

enum  Type : uint32_t {
  Enc, Mult, Rot, Conj,
  SparseSecretEncapsulation
}
 

Public Member Functions

 CollectiveKeyGenConfig (CollectiveKeyGenConfig::Type type_input, i64 rot_idx_input=0)
 
bool operator== (const CollectiveKeyGenConfig &other) const
 
bool operator!= (const CollectiveKeyGenConfig &other) const
 
template<class Archive >
void serialize (Archive &ar)
 

Public Attributes

Type type
 
i64 rot_idx = 0
 

Detailed Description

Configuration for collective key generation on which key to generate.

Member Enumeration Documentation

◆ Type

Enumerator
Enc 
Mult 
Rot 
Conj 
SparseSecretEncapsulation 

Constructor & Destructor Documentation

◆ CollectiveKeyGenConfig()

HEaaN::CollectiveKeyGenConfig::CollectiveKeyGenConfig ( CollectiveKeyGenConfig::Type  type_input,
i64  rot_idx_input = 0 
)
inlineexplicit

Member Function Documentation

◆ operator!=()

bool HEaaN::CollectiveKeyGenConfig::operator!= ( const CollectiveKeyGenConfig other) const
inline

◆ operator==()

bool HEaaN::CollectiveKeyGenConfig::operator== ( const CollectiveKeyGenConfig other) const
inline

◆ serialize()

template<class Archive >
void HEaaN::CollectiveKeyGenConfig::serialize ( Archive &  ar)
inline

Member Data Documentation

◆ rot_idx

i64 HEaaN::CollectiveKeyGenConfig::rot_idx = 0

◆ type

Type HEaaN::CollectiveKeyGenConfig::type

The documentation for this struct was generated from the following file: