HEaaN
Crypto Lab's great homomorphic encryption library
|
Go to the documentation of this file.
24 class KeyGeneratorImpl;
74 void genEncryptionKey(
void)
const;
77 void genMultiplicationKey(
void)
const;
80 void genConjugationKey(
void)
const;
84 void genLeftRotationKey(
u64 rot)
const;
88 void genRightRotationKey(
u64 rot)
const;
94 void genRotationKeyBundle(
void)
const;
101 void genSparseSecretEncapsulationKey(
void)
const;
112 genMultiplicationKey();
114 genRotationKeyBundle();
123 void genRotKeysForBootstrap(
const u64 log_slots)
const;
134 void save(
const std::string &dir_path)
const;
151 std::shared_ptr<KeyGeneratorImpl>
impl_;
Class managing public keys.
Definition: KeyPack.hpp:29
Secret key class.
Definition: SecretKey.hpp:26
void genCommonKeys(void) const
Generate commonly used keys.
Definition: KeyGenerator.hpp:110
const std::optional< Context > context_sparse_
Definition: KeyGenerator.hpp:146
std::uint64_t u64
Definition: Integers.hpp:17
A class generating public (encryption/evaluation) keys from a secret key.
Definition: KeyGenerator.hpp:30
std::shared_ptr< ContextContent > Context
Definition: Context.hpp:27
HEAAN_API void save(const EvaluationKey &key, std::ostream &stream)
Save key to a given stream.
std::shared_ptr< KeyGeneratorImpl > impl_
Definition: KeyGenerator.hpp:151
KeyPack getKeyPack() const
Extract the internal KeyPack object.
Definition: KeyGenerator.hpp:142
KeyPack pack_
The internal keypack object.
Definition: KeyGenerator.hpp:149
const Context context_
Definition: KeyGenerator.hpp:145
#define HEAAN_API
Definition: HEaaNExport.hpp:26
Definition: Bootstrapper.hpp:16