Jean-Philippe Bossuat
952047663d
Cleared all instances of G115
2025-01-21 09:15:17 +01:00
lehugueni
7c89ca1515
Merge branch 'main' into 510-bgv-wrong-result-from-innersum
2024-12-18 15:31:56 +01:00
lehugueni
dda9b25221
changelog + change name partialtrace
2024-12-18 15:24:40 +01:00
lehugueni
3a52e44be6
apply feedback + add test cases + update changelog
2024-12-17 11:00:30 +01:00
lehugueni
38a89e9a80
update constant serialization test with compressed key
2024-11-18 14:26:53 +01:00
lehugueni
f26cc7e135
Merge branch 'main' into serialization-compressed-keys
2024-11-18 14:04:40 +01:00
lehugueni
43f73e6290
enforce seed to be nil or 32 bytes
2024-11-11 12:14:43 +01:00
lehugueni
312b447f4f
feedback
2024-11-08 10:36:40 +01:00
lehugueni
1a5fbffb84
lint
2024-10-31 21:28:30 +01:00
lehugueni
99b112d89c
serialization of compressed evk
2024-10-31 21:12:23 +01:00
lehugueni
698dd7b36b
renamed NewEncryptorWithPRNG
2024-10-16 15:33:21 +02:00
lehugueni
5da9d799fa
detect serialization changes
2024-10-15 13:35:24 +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
f8447e7b37
create scheme directories in './circuits'
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
7115d1de49
repack linear transformation
2024-08-05 10:27:20 +02:00
Andrea Caforio
f0a1a98804
reduce degree of relinkey round-2 multi-party shares
2024-07-24 13:20:33 +02:00
Romain Bouyé
92015716dd
fix typos and comments
2024-07-23 17:33:29 +02:00
Andrea Caforio
fc361e85f1
realign head with bugfixes
2024-07-23 10:08:14 +02:00
Romain Bouyé
0546b06f75
Merge branch 'master' into bugfixes-june-2024-part2
2024-07-22 19:20:56 +02:00
Romain Bouyé
e7c4d51db7
fix comment formatting for static_check
2024-07-03 15:55:12 +02:00
Andrea Caforio
988d3d7618
[doc] formatting cleanup #38
...
Fix various Go comments that are misformated in the documentation
browser. The set of changes includes
- unfolding inlined lists
- numerous spelling and grammar fixes
- include links to packages, types, functions and constants
- documentation generation instructions in the README
2024-07-03 15:30:52 +02:00
Romain Bouyé
e8f9ec0fce
Merge branch 'master' into bugfixes-may-2024-part2
2024-06-28 17:02:21 +02:00
Andrea Caforio
154c4600aa
reduce the number of masking operations in gadget product
2024-06-27 17:03:25 +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
5001ad0186
prevent rgsw panic if no p moduli are provided
2024-06-12 16:21:32 +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
3dce5b5336
reduce golang linter noise
2024-06-04 14:13:05 +02:00
Andrea Caforio
454efab092
use decimal encoding for scales
2024-05-16 18:21:59 +02:00
Andrea Caforio
51451c4d42
do not mix log/non-log primes for Q and P in rlwe.ParametersLiteral
2024-05-16 16:58:19 +02:00
Andrea Caforio
93154bd613
correctly compute the binary size of rlwe.Parameters
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
Andrea Caforio
38e3c5ffd7
do not marshal scales larger than 2^100
2024-04-29 19:26:02 +02:00
Andrea Caforio
1532dc9f06
add 'io.Writer' and 'io.Reader' interfaces to 'Parameters'
2024-04-29 17:57:02 +02:00
Andrea Caforio
a1de0c5059
use correct modulus chain in 'Parameters.LogPi'
2024-04-29 16:40:20 +02:00
Jean-Philippe Bossuat
cc821be097
fixes #23
2023-12-21 09:31:29 +01:00
Jean-Philippe Bossuat
d58024e9d8
updated references
2023-11-15 12:13:46 +01:00
Jean-Philippe Bossuat
c031b14be1
updated imports to v5
2023-11-14 19:15:38 +01:00
Jean-Philippe Bossuat
827ece940b
small updates
2023-11-13 16:58:12 +01:00
Jean-Philippe Bossuat
a1b21b4f44
[rlwe]: fixed panic if #P=0
2023-11-10 10:26:51 +01:00
Jean-Philippe Bossuat
d2f8555f40
[hefloat/bootstrapping]: fixed high precision bootstrapping
2023-11-08 16:46:16 +01:00
Jean-Philippe Bossuat
2728fc04e3
[hefloat/bootstrapping]: refactor of the circuit
2023-11-07 14:48:58 +01:00
Jean-Philippe Bossuat
e18bb23803
updated README.md
2023-11-05 10:09:17 +01:00
Jean-Philippe Bossuat
08080159a7
updated CHANGELOG.md & README.md
2023-11-05 10:04:21 +01:00
Jean-Philippe Bossuat
0e59fa48dd
refactored the library
2023-11-04 02:24:29 +01:00
Jean-Philippe
6a953d9f59
wip
2023-11-03 16:47:29 +01:00