Searched refs:LWECiphertextImpl (Results 1 – 10 of 10) sorted by relevance
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/binfhe/lib/ |
H A D | lwe.cpp | 54 std::shared_ptr<LWECiphertextImpl> LWEEncryptionScheme::Encrypt( in Encrypt() 75 return std::make_shared<LWECiphertextImpl>(LWECiphertextImpl(a, b)); in Encrypt() 83 const std::shared_ptr<const LWECiphertextImpl> ct, in Decrypt() 136 const std::shared_ptr<const LWECiphertextImpl> ctQ) const { in ModSwitch() 147 return std::make_shared<LWECiphertextImpl>(LWECiphertextImpl(a, b)); in ModSwitch() 179 std::vector<std::vector<LWECiphertextImpl>> vector1(baseKS); in KeySwitchGen() 181 std::vector<LWECiphertextImpl> vector2(expKS); in KeySwitchGen() 199 vector2[k] = LWECiphertextImpl(a, b); in KeySwitchGen() 214 const std::shared_ptr<const LWECiphertextImpl> ctQN) const { in KeySwitch() 237 return std::make_shared<LWECiphertextImpl>(LWECiphertextImpl(a, b)); in KeySwitch() [all …]
|
H A D | fhew.cpp | 478 std::shared_ptr<LWECiphertextImpl> RingGSWAccumulatorScheme::EvalBinGate( 481 const std::shared_ptr<const LWECiphertextImpl> ct1, 482 const std::shared_ptr<const LWECiphertextImpl> ct2, 550 const std::shared_ptr<const LWECiphertextImpl> eQ = 560 std::shared_ptr<LWECiphertextImpl> RingGSWAccumulatorScheme::Bootstrap( 562 const std::shared_ptr<const LWECiphertextImpl> ct1, 594 std::make_shared<LWECiphertextImpl>(std::move(aNew), std::move(bNew)); 597 const std::shared_ptr<const LWECiphertextImpl> eQ = 605 std::shared_ptr<LWECiphertextImpl> RingGSWAccumulatorScheme::EvalNOT( 607 const std::shared_ptr<const LWECiphertextImpl> ct) const { [all …]
|
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/binfhe/include/ |
H A D | lwe.h | 75 std::shared_ptr<LWECiphertextImpl> Encrypt( in main() 90 const std::shared_ptr<const LWECiphertextImpl> ct, in main() 100 std::shared_ptr<LWECiphertextImpl> ModSwitch( in main() 102 const std::shared_ptr<const LWECiphertextImpl> ctQ) const; in main() 126 std::shared_ptr<LWECiphertextImpl> KeySwitch( in main() 129 const std::shared_ptr<const LWECiphertextImpl> ctQN) const; in main() 138 std::shared_ptr<LWECiphertextImpl> NoiselessEmbedding( in main()
|
H A D | lwecore.h | 207 class LWECiphertextImpl : public Serializable { in main() 209 LWECiphertextImpl() {} in main() 217 LWECiphertextImpl(NativeVector &&a, NativeInteger b) in main() 220 explicit LWECiphertextImpl(const LWECiphertextImpl &rhs) { in main() 225 explicit LWECiphertextImpl(const LWECiphertextImpl &&rhs) { in main() 230 const LWECiphertextImpl &operator=(const LWECiphertextImpl &rhs) { in main() 236 const LWECiphertextImpl &operator=(const LWECiphertextImpl &&rhs) { in main() 252 bool operator==(const LWECiphertextImpl &other) const { in main() 256 bool operator!=(const LWECiphertextImpl &other) const { in main() 356 const std::vector<std::vector<std::vector<LWECiphertextImpl>>> &key) in main() [all …]
|
H A D | fhew.h | 78 std::shared_ptr<LWECiphertextImpl> EvalBinGate( 81 const std::shared_ptr<const LWECiphertextImpl> ct1, 82 const std::shared_ptr<const LWECiphertextImpl> ct2, 92 std::shared_ptr<LWECiphertextImpl> EvalNOT( 94 const std::shared_ptr<const LWECiphertextImpl> ct1) const; 105 std::shared_ptr<LWECiphertextImpl> Bootstrap( 108 const std::shared_ptr<const LWECiphertextImpl> ct1,
|
H A D | binfhecontext.h | 67 class LWECiphertextImpl; variable 69 using LWECiphertext = std::shared_ptr<LWECiphertextImpl>; 71 using ConstLWECiphertext = const std::shared_ptr<const LWECiphertextImpl>;
|
H A D | binfhecontext-ser.h | 33 CEREAL_REGISTER_TYPE(lbcrypto::LWECiphertextImpl);
|
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/benchmark/src/ |
H A D | binfhe-ginx.cpp | 162 std::shared_ptr<LWECiphertextImpl> eQ1 = cc.GetLWEScheme()->KeySwitch( in FHEW_KEYSWITCH()
|
H A D | binfhe-ap.cpp | 189 std::shared_ptr<LWECiphertextImpl> eQ1 = cc.GetLWEScheme()->KeySwitch(
|
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/binfhe/unittest/ |
H A D | UnitTestFHEW.cpp | 52 std::shared_ptr<LWECiphertextImpl> eQ1 = cc.GetLWEScheme()->KeySwitch( in TEST() 54 std::shared_ptr<LWECiphertextImpl> eQ0 = cc.GetLWEScheme()->KeySwitch( in TEST() 88 std::shared_ptr<LWECiphertextImpl> eQ1 = cc.GetLWEScheme()->KeySwitch( in TEST() 90 std::shared_ptr<LWECiphertextImpl> eQ0 = cc.GetLWEScheme()->KeySwitch( in TEST()
|