Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/include/docstrings/cryptocontext_docs.h
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ const char* cc_MultiEvalAtIndexKeyGen_docs = R"pbdoc(
:type indexList: List[int32]
:param keyId: new key identifier used for resulting evaluation key
:type keyId: str
:return: EvalKeyMap: new joined rotation keys
:return: EvalKeyMap: a map with new joined rotation keys
:rtype: EvalKeyMap
)pbdoc";

Expand Down Expand Up @@ -1136,10 +1136,12 @@ const char* cc_InsertEvalMultKey_docs = R"pbdoc(
)pbdoc";

const char* cc_InsertEvalAutomorphismKey_docs = R"pbdoc(
Add the given map of keys to the map, replacing the existing map if there is
Add the given map of keys to the map, replacing the existing map if there is one

:param evalKeyMap: map of keys
:param evalKeyMap: map of keys to be inserted
:type EvalKeyMap
:param keyTag: key identifier for the given key map
:type keyTag: str
)pbdoc";

const char* cc_EvalSum_docs = R"pbdoc(
Expand Down
22 changes: 11 additions & 11 deletions src/include/pke/cryptocontext_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,25 @@ Ciphertext<DCRTPoly> EvalFastRotationPrecomputeWrapper(CryptoContext<DCRTPoly> &

Ciphertext<DCRTPoly> EvalFastRotationWrapper(CryptoContext<DCRTPoly> &self,
ConstCiphertext<DCRTPoly> ciphertext,
const usint index,
const usint m,
uint32_t index,
uint32_t m,
ConstCiphertext<DCRTPoly> digits);
Ciphertext<DCRTPoly> EvalFastRotationExtWrapper(CryptoContext<DCRTPoly> &self, ConstCiphertext<DCRTPoly> ciphertext, const usint index, ConstCiphertext<DCRTPoly> digits, bool addFirst);
Ciphertext<DCRTPoly> EvalFastRotationExtWrapper(CryptoContext<DCRTPoly> &self, ConstCiphertext<DCRTPoly> ciphertext, uint32_t index, ConstCiphertext<DCRTPoly> digits, bool addFirst);

Plaintext DecryptWrapper(CryptoContext<DCRTPoly> &self,
ConstCiphertext<DCRTPoly> ciphertext, const PrivateKey<DCRTPoly> privateKey);
Plaintext DecryptWrapper(CryptoContext<DCRTPoly> &self,
const PrivateKey<DCRTPoly> privateKey, ConstCiphertext<DCRTPoly> ciphertext);
Plaintext MultipartyDecryptFusionWrapper(CryptoContext<DCRTPoly>& self,const std::vector<Ciphertext<DCRTPoly>>& partialCiphertextVec);

const std::shared_ptr<std::map<usint, EvalKey<DCRTPoly>>> GetEvalSumKeyMapWrapper(CryptoContext<DCRTPoly>& self, const std::string &id);
const PlaintextModulus GetPlaintextModulusWrapper(CryptoContext<DCRTPoly>& self);
const double GetModulusWrapper(CryptoContext<DCRTPoly>& self);
void RemoveElementWrapper(Ciphertext<DCRTPoly>& self, usint index);
const double GetScalingFactorRealWrapper(CryptoContext<DCRTPoly>& self, uint32_t l);
const uint64_t GetModulusCKKSWrapper(CryptoContext<DCRTPoly>& self);
const ScalingTechnique GetScalingTechniqueWrapper(CryptoContext<DCRTPoly>& self);
const usint GetDigitSizeWrapper(CryptoContext<DCRTPoly>& self);
const std::shared_ptr<std::map<uint32_t, EvalKey<DCRTPoly>>> GetEvalSumKeyMapWrapper(CryptoContext<DCRTPoly>& self, const std::string &id);
PlaintextModulus GetPlaintextModulusWrapper(CryptoContext<DCRTPoly>& self);
double GetModulusWrapper(CryptoContext<DCRTPoly>& self);
void RemoveElementWrapper(Ciphertext<DCRTPoly>& self, uint32_t index);
double GetScalingFactorRealWrapper(CryptoContext<DCRTPoly>& self, uint32_t l);
uint64_t GetModulusCKKSWrapper(CryptoContext<DCRTPoly>& self);
ScalingTechnique GetScalingTechniqueWrapper(CryptoContext<DCRTPoly>& self);
uint32_t GetDigitSizeWrapper(CryptoContext<DCRTPoly>& self);

void ClearEvalMultKeysWrapper();

Expand Down
Loading