Commit 16fe8d2
Updates main to v1.1.3 (#697)
* 569 fix fast rotations in leveled bfv (#625)
* fix for fast rotation bfv leveled
* use the already computed digits to drop levels in EvalFastRotation
* Basic tests for BFV EvalFastRotation
* updated tests
* cleanup and clarification
* added more tests + comment
---------
Co-authored-by: Andreea Alexandru <aalexandru@dualitytech.com>
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* fixed FLEXIBLEAUTOEXT for large ring dimensions (#627)
* fixed FLEXIBLEAUTOEXT for large ring dimensions
* fixed the new bug introduced by the prior fix
---------
Co-authored-by: Yuriy Polyakov <ypolyakod@dualitytech.com>
* Fixed GetBootstrapDepth (#626)
* updated GetBootstrapDepth
* Update simple-ckks-bootstrapping.cpp
---------
Co-authored-by: Yuriy Polyakov <ypolyakod@dualitytech.com>
* Scheme switching improvements (#630)
* pass BinFHEContext as shared ptr
* pre-rebase
* pass BinFHEContext as shared ptr
* improved linear transform
* unittests are passing + cleanup
* changed API to separate setup from key gen
* data struct for scheme switching parameters
* reverted parameters; serialization not fully working
* fixed serializing keys, issue with serializing inner cc
* changed API for binfhecc access, remaining issue with (de)serialization cc and ctxt compatibility
* serialization works
* cleanup
* prep for cc serialization
* incomplete fix for cc serialization
* before another rebase
* get/set to fix serialization
* Added a mechanism to serialize/deserialize all schemeswitching data
* Reduced the number parameters passed to the constructor (serialize/deserialize schemeswitching data)
* rebased for automorphism keygen revert
* Refactored class SchemeSwitchingDataSerializer
* cleaned some comments
* reverted some old memory changes
---------
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Allow only 2-elem ciphertexts for EvalRotation() (#628)
* Allow only 2-elem ciphertexts for EvalRotation()
* Addressed comments
---------
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Added <cmath> and std:: to some C++ standard lib function calls (#637)
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Some code improvements for scheme switching (#638)
* Added a class to hold all parameters for scheme switching setup functions
* Added operator<<() and fixed some bugs in unittests
* Moved some functions to the private section and optimized some operations with vectors
* Fixed an error in scheme-switching-timing.cpp
---------
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Powerpc s390 support (#641)
* Powerpc support.
(cherry picked from commit 7c40ab3)
* Added support to IBM/S390(x) to intnat::MultD
(cherry picked from commit 7a7df9e)
* Fix the big-endian issue with memcpy in S390/x
(cherry picked from commit 7568887)
* intnat/ubintnat.h cleanup
* eliminate mempy usage
* fix for NTL::ConvertToInt<uint128_t>()
---------
Co-authored-by: Yuri Victorovich <yuri@FreeBSD.org>
Co-authored-by: Marcone Almeida <marcone.almeida@gmail.com>
* Moved EvalSum and Automorphism keys to the same map (#639)
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Removed ./pke/examples/memory_test.cpp as obsolete (#654)
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Fixed a type: replaced __GNUG__ with __GNUC__ (#655)
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* 652 fix unittest errors on mingw (#653)
* Fixed unittest errors related to the static key maps in CryptoContextImpl on MinGW
* Fixed a compiler error
* Fixed a compiler error (2)
---------
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Fix for slowdown at a large number of threads (#646)
* partial fix for slowdown at a large number of threads
* fix for slowdown at a large number of threads; fix for lazy reduction issues in DCRTPoly
* fix for 128 bit compilation issue
* Use of std::vector::reserve() (#665)
* additional use of std::vector::reserve()
* fix for clang compilation
* additional use of std::vector::reserve()
* std::is_integral has compiler/platform-dependent behavior for __int128_t (#671)
* fix for -std=c++17; additional checks for int128_t/uit128_t
* BE2 ConvertToInt()
* Update lwe-pke.cpp (#663)
* Update lwe-pke.h
Correct the parameters in the comments of the function
(cherry picked from commit a41d32b)
* Update lwe-pke.cpp
The variance of dgg here is the default value of 1.0, but the variance of the lwe private key should be the same as the variance of member m_dgg in lwe-cryptoparameters.
(cherry picked from commit 5a0b09e)
* Cleaup lwe-pke.cpp
* use dgg from CryptoParams
---------
Co-authored-by: Wangkaixing <50945983+Wangkaixing@users.noreply.github.com>
* 629 correct the use of compress in the scheme switching code (#672)
* corrected Compress for FLEXIBLE modes + corrected final scaling factor for all modes
* fully corrected scaling factors in scheme switch
* moved the specification of the correct scaling factor internally
* some cleanup
* Fixed unittest failures when the library is linked with clang++ in th… (#659)
* Fixed unittest failures when the library is linked with clang++ in the Debug mode and a number of sanitize flags (reported by Google)
* Additional unittest fixes
* Correction to a unittest
* Changes according to the feedback from the review
---------
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* 668 refactor openfhe exception class (#679)
* Added a new class OpenFHEException, changed OPENFHE_THROW and updated all files that use OPENFHE_THROW
* Overloaded OPENFHE_THROW to ensure compatibility with previous versions
---------
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* Moved function's implementation from header to source file (#685)
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* fix for compilation on MacOS (#687)
* fixed a compilation error affecting python wrapper (#689)
Co-authored-by: Yuriy Polyakov <ypolyakod@dualitytech.com>
* Removed #include <malloc.h> (#693)
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
* updates the version to v1.1.3
* fixed github vulnerabilities
* added the readthedocs.yaml file (#696)
Co-authored-by: Yuriy Polyakov <ypolyakod@dualitytech.com>
---------
Co-authored-by: dsuponitskiy <dmitriy.suponitskiy@gmail.com>
Co-authored-by: Andreea Alexandru <aalexandru@dualitytech.com>
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
Co-authored-by: Yuriy Polyakov <ypolyakod@dualitytech.com>
Co-authored-by: andreea-alexandru <31080521+andreea-alexandru@users.noreply.github.com>
Co-authored-by: pascoec <123595534+pascoec@users.noreply.github.com>
Co-authored-by: Yuri Victorovich <yuri@FreeBSD.org>
Co-authored-by: Marcone Almeida <marcone.almeida@gmail.com>
Co-authored-by: Wangkaixing <50945983+Wangkaixing@users.noreply.github.com>1 parent b2869ae commit 16fe8d2
File tree
183 files changed
+6156
-5043
lines changed- benchmark/src
- docs
- static_docs
- src
- binfhe
- examples
- include
- lib
- core
- include
- lattice
- hal
- default
- math
- hal
- bigintdyn
- bigintfxd
- bigintntl
- intnat
- utils
- prng
- lib
- lattice
- math
- hal
- bigintdyn
- bigintfxd
- bigintntl
- intnat
- utils
- unittest
- pke
- examples
- extras
- include
- encoding
- keyswitch
- key
- schemebase
- schemerns
- scheme
- bfvrns
- bgvrns
- ckksrns
- lib
- encoding
- keyswitch
- schemebase
- schemerns
- scheme
- bfvrns
- bgvrns
- ckksrns
- unittest
- utbfvrns
- utbgvrns
- utckksrns
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
183 files changed
+6156
-5043
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments