Commit Graph

19 Commits

Author SHA1 Message Date
Romain Bouyé
4e8ac0a47b Fix small typos 2024-10-07 15:37:19 +02:00
lehugueni
e2fa172775 Shallowcopy everything in bootstrapping 2024-10-07 11:47:48 +02:00
Romain Bouyé
e9e04b1445 applying lattigo-e patch
CHANGELOG:
- Update of `PrecisionStats` in `ckks/precision.go`:
  - precision/error stats computed as log2 of min/max/average/...
  - fields renamed (`MinPrecision` -> `MINLog2Prec`, `MaxPrecision` -> `MAXLog2Prec`, ...)
  - `rlwe.Scale` has a `.Log2()` method
- Update of `mod1.Parameters` fields (made public, some removed)
- Improvement of the relinearization key-generation protocol (reduce the degree of the shares)
- Serialisation of bootstrapping keys
- Lower noise incurred by `ModUp`
- Evaluation keys can be compressed (public element `a` can be generated from a seed)
- More doc formatting
- Fix various bugs:
  - `ShallowCopy` of the CKKS bootstrapping evaluator and BFV evaluator not deep enough.
  - PSI example failing
  - Incorrect reset of pointer in uniform sampler
  - Error when doing inverse NTT with small degree
  - Mod1Evaluator changes the input ciphertext

Co-authored-by: Andrea Caforio <andrea.caforio@protonmail.com>
Co-authored-by: Jean-Philippe Bossuat <jean-philippe@tuneinsight.com>
2024-10-07 11:46:55 +02:00
Andrea Caforio
f8b84f5165 Merge pull request #492 from tuneinsight/he-collapse
v6.0.0
2024-08-06 14:46:08 +02:00
Andrea Caforio
d6f5dfbe8b adapt changelog to v6 2024-08-06 12:04:33 +02:00
Andrea Caforio
6b66bca68f collapse bfv 2024-08-05 10:27:20 +02:00
Andrea Caforio
a9f43f03e0 address first round of v6 comments 2024-08-05 10:27:20 +02:00
Andrea Caforio
f8447e7b37 create scheme directories in './circuits' 2024-08-05 10:27:20 +02:00
Andrea Caforio
1ea7f3af5c he collapse 2024-08-05 10:27:20 +02:00
Andrea Caforio
bf44a70609 repackage blind rotations 2024-08-05 10:27:20 +02:00
Andrea Caforio
d331bb4d78 repackage inverse
Change initializer to take a Minimax evaluator instead of a generic
CKKS evaluator to allow for custom polynomial evaluators.
2024-08-05 10:27:20 +02:00
Andrea Caforio
c9b2222d63 repackage comparison 2024-08-05 10:27:20 +02:00
Andrea Caforio
4fa9991b33 repackage minimax 2024-08-05 10:27:20 +02:00
Andrea Caforio
7ecd3beccf repackage bootstrapping 2024-08-05 10:27:20 +02:00
Andrea Caforio
cd50a87a39 repackage dft 2024-08-05 10:27:20 +02:00
Andrea Caforio
b906a2561c repackage mod1
Additionally, move the cleartext cosine approximation to the utils
package.
2024-08-05 10:27:20 +02:00
Andrea Caforio
a315439b5b refactor test utilities
Add `BFV`, `BGV` and `CKKS` test utilities that can be reused
throughout the entirety of Lattigo. This reduces code duplication and
should simplify the creation of future unit tests.
2024-08-05 10:27:20 +02:00
Andrea Caforio
8378a3b4ae repack polynomial 2024-08-05 10:27:20 +02:00
Andrea Caforio
7115d1de49 repack linear transformation 2024-08-05 10:27:20 +02:00