Commit Graph

356 Commits

Author SHA1 Message Date
lehugueni
66c9ddff6e Merge branch 'main' into typos 2025-07-28 14:04:50 +02:00
lehugueni
9ebcc9aa0f style: apply feedback from pr 2025-06-20 16:36:48 +02:00
lehugueni
c426851de6 refactor: add separate pool structs 2025-06-19 16:58:07 +02:00
lehugueni
c59c418566 Merge branch 'main' into uint64-syncpool 2025-04-24 11:54:35 +02:00
lehugueni
a1343c71f5 refactor!: remove all shallowcopy methods
BREAKING CHANGE: all ShallowCopy() methods have been removed
2025-04-16 16:12:28 +02:00
Christian Mouchet
49ba2e6246 fixed math mode rendering of x-out-of-N 2025-04-14 17:56:58 +02:00
Christian Mouchet
faf4bd6271 fixed gosec false positive 2025-04-09 18:08:51 +02:00
Christian Mouchet
c5571f6bce fixed fmt 2025-04-09 17:59:24 +02:00
Christian Mouchet
2518bcaaec Merge branch 'main' into dev_threshold 2025-04-09 17:51:29 +02:00
Christian Mouchet
067b9e8eb8 Apply typo fixes from review
Co-authored-by: lehugueni <12702835+lehugueni@users.noreply.github.com>
2025-04-09 17:30:21 +02:00
lehugueni
dd52cf299a Merge branch 'main' into typos 2025-03-18 09:00:41 +01:00
lehugueni
84bb7dd5b2 style: typos 2025-02-27 16:38:00 +01:00
lehugueni
ee2850bad4 Merge branch 'main' into uint64-syncpool 2025-02-20 16:17:28 +01:00
Christian Mouchet
2ccdf826ce prevent bad display of hyphenized math symboles in READMEs 2025-02-05 14:44:41 +01:00
Christian Mouchet
764d238c2a removed todos according to technical committee discussion 2025-02-05 14:39:20 +01:00
Christian Mouchet
f16844b97b updated general examples README.md 2025-02-05 14:26:25 +01:00
lehugueni
bad71e5091 fix: uncaught error in ckks example + use pool for new innersum tmp buffer 2025-01-23 10:00:30 +01:00
lehugueni
d924f03003 Merge branch 'main' into uint64-syncpool 2025-01-23 09:34:52 +01:00
Jean-Philippe Bossuat
952047663d Cleared all instances of G115 2025-01-21 09:15:17 +01:00
lehugueni
9074893716 refactor(ring): newring method takes a pool as an argument
BREAKING CHANGE: the method ring.NewRing has now a mandatory argument of
type structs.BufferPool[*[]uint64]
2025-01-20 14:30:27 +01:00
lehugueni
b6c7b82f6e doc typo + EvaluateGianStep->EvaluateGiantStep 2025-01-14 10:07:11 +01:00
Christian Mouchet
44bbe48d8f multiparty.Combiner accepts the ParameterProvider interface 2024-12-27 16:45:16 +01:00
Christian Mouchet
3d88a97905 improved console output clarity 2024-12-27 16:39:02 +01:00
lehugueni
3a52e44be6 apply feedback + add test cases + update changelog 2024-12-17 11:00:30 +01:00
Christian Mouchet
9704074242 Improved the int_psi example readability and documentation 2024-12-11 18:14:41 +01:00
Christian Mouchet
95bef5b79e Adapted the int_pir example to the t-out-of-n-threshold scheme 2024-12-11 18:12:11 +01:00
lehugueni
8272911fc8 replace buffers with pools in ckks encoder 2024-11-27 10:58:31 +01:00
lehugueni
84a842928c ckks eval buffers to pool 2024-11-26 19:21:55 +01:00
lehugueni
b1db75e8e0 pool buffers in basis extender 2024-11-26 15:53:09 +01:00
lehugueni
49f7a2ade3 concurrency main fails 2024-11-26 14:59:43 +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