Commit Graph

328 Commits

Author SHA1 Message Date
lehugueni
84bb7dd5b2 style: typos 2025-02-27 16:38:00 +01:00
lehugueni
b6c7b82f6e doc typo + EvaluateGianStep->EvaluateGiantStep 2025-01-14 10:07:11 +01:00
lehugueni
6435b74c29 fix bfv shallowcopy + psi example with bfv 2024-10-07 11:47:48 +02:00
lehugueni
3ed28cf46e add rescaling in PSI example 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
a9f43f03e0 address first round of v6 comments 2024-08-05 10:27:20 +02:00
Andrea Caforio
c440204e55 rename ./mhe to ./multi_party 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
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
b7a7de712b repackage ring packing
The ring packing functionality exclusively uses code from the `rlwe`
and `ring` packages and thus completely sidesteps the `schemes`
layer. As such, it appears more sensible to place the ring packing
functions in the `rlwe` module instead of the new circuits package.
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
Romain Bouyé
92015716dd fix typos and comments 2024-07-23 17:33:29 +02:00
Andrea Caforio
0073e42813 permutations as part of linear transformations
Co-authored-by: Jean-Philippe Bossuat <jean-philippe@tuneinsight.com>
2024-06-21 18:13:57 +02:00
Andrea Caforio
2db3225d30 hermes-inspired rlwe ring packing
Co-authored-by: Jean-Philippe Bossuat <jean-philippe@tuneinsight.com>
2024-06-21 18:13:06 +02:00
Andrea Caforio
1952973cd9 bump go version to 1.22 and use slices std library package 2024-06-05 09:44:14 +02:00
Andrea Caforio
34a6325a84 update outdated comment in the single-party reals tutorial 2024-05-16 16:58:19 +02:00
Romain Bouyé
b326b02e0f Fix #457 utils.MaxSlice and utils.MinSlice and add tests for slices utils
Co-authored-by: Jean-Philippe Bossuat <jean-philippe@tuneinsight.com>
2024-05-07 14:38:42 +02:00
Juan R. Troncoso
afd88bbbe5 Revised documentation and CHANGELOG 2023-11-15 17:51:28 +01:00
Jean-Philippe Bossuat
c031b14be1 updated imports to v5 2023-11-14 19:15:38 +01:00
Jean-Philippe Bossuat
848871111a updated examples 2023-11-14 16:26:39 +01:00
Christian Mouchet
769fd833ca added back some example parameter sets 2023-11-14 15:19:21 +01:00
Jean-Philippe Bossuat
4af19d8f57 examples: added README.md 2023-11-14 10:59:47 +01:00
Jean-Philippe Bossuat
82770be864 refactored examples 2023-11-14 10:37:01 +01:00
Jean-Philippe Bossuat
edde68e6a3 [examples]: added slim bootstrapping 2023-11-09 11:16:37 +01:00
Jean-Philippe Bossuat
d2f8555f40 [hefloat/bootstrapping]: fixed high precision bootstrapping 2023-11-08 16:46:16 +01:00
Jean-Philippe Bossuat
5acc568a38 doc 2023-11-08 02:51:31 +01:00
Jean-Philippe Bossuat
c351441f20 doc 2023-11-08 02:45:42 +01:00
Jean-Philippe Bossuat
88b0dd4330 [examples]: added custom bootstrapping circuit 2023-11-08 02:37:42 +01:00
Jean-Philippe Bossuat
636fa22eec fixed example 2023-11-07 15:46:56 +01:00
Jean-Philippe Bossuat
0734444ced [hefloat/bootstrapper]: merged the two packages 2023-11-07 01:11:29 +01:00
Jean-Philippe Bossuat
0e59fa48dd refactored the library 2023-11-04 02:24:29 +01:00
Jean-Philippe Bossuat
be0bb913f1 refactored the library 2023-11-03 14:26:11 +01:00
Jean-Philippe Bossuat
72eee373a6 [he/integer]: standalone package for encrypted modular arithmetic & reorganized examples 2023-11-03 13:18:30 +01:00
Jean-Philippe Bossuat
026b22f7b8 [circuits/float]: standalone package for fixed-point encrypted arithmetic over the reals/complexes. 2023-11-03 12:08:33 +01:00
Jean-Philippe Bossuat
29d476c01f [circuits] -> he 2023-11-03 10:08:40 +01:00
Jean-Philippe Bossuat
0ed0c820dd [ckks]: updated DecodePublic & updated SECURITY.md 2023-10-26 17:04:29 +02:00
Jean-Philippe Bossuat
33fbe0ebdf [ckks/totorial]: doc 2023-10-23 18:07:55 +02:00
Jean-Philippe Bossuat
374e89c115 [typo] 2023-10-23 18:04:27 +02:00
Jean-Philippe Bossuat
1687d55013 Update examples/ckks/ckks_tutorial/main.go
Co-authored-by: manonmichel <manon.smcl@proton.me>
2023-10-23 17:43:20 +02:00
Jean-Philippe Bossuat
6c0f5cdb2c Update examples/ckks/ckks_tutorial/main.go
Co-authored-by: manonmichel <manon.smcl@proton.me>
2023-10-23 17:43:11 +02:00
Jean-Philippe Bossuat
82721f6bc5 Update examples/ckks/ckks_tutorial/main.go
Co-authored-by: manonmichel <manon.smcl@proton.me>
2023-10-23 17:43:02 +02:00
Jean-Philippe Bossuat
7aaf38ca4c Update examples/ckks/ckks_tutorial/main.go
Co-authored-by: manonmichel <manon.smcl@proton.me>
2023-10-23 17:42:53 +02:00
Jean-Philippe Bossuat
a335677748 [float/cosine]: improved godoc 2023-10-23 17:42:06 +02:00
Romain Bouyé
8868658f69 Typo fixes on v5 pass 2023-10-13 00:14:52 +02:00