Commit Graph

1708 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
952047663d Cleared all instances of G115 2025-01-21 09:15:17 +01:00
lehugueni
3cd1204ac8 Merge pull request #506 from tuneinsight/505-sparse-bootstrapping
Ciphertext packing in bootstrapping
2025-01-17 09:08:27 +01:00
lehugueni
b0a6ea07d1 Merge branch 'main' into 505-sparse-bootstrapping 2025-01-17 09:00:50 +01:00
lehugueni
1a3eb22c72 Merge pull request #523 from tuneinsight/dependabot/go_modules/golang.org/x/crypto-0.31.0
Bump golang.org/x/crypto from 0.18.0 to 0.31.0
2025-01-15 16:32:26 +01:00
lehugueni
e4eed3f98f Merge branch 'main' into dependabot/go_modules/golang.org/x/crypto-0.31.0 2025-01-15 16:01:45 +01:00
lehugueni
cc0aac9a4b Merge pull request #513 from tuneinsight/510-bgv-wrong-result-from-innersum
Fix inner sum in BGV
2025-01-15 15:54:58 +01:00
lehugueni
7bf5d3819a make linter happy 2025-01-15 10:17:42 +01:00
lehugueni
be63fab06f Merge branch 'main' into 505-sparse-bootstrapping 2025-01-14 16:03:47 +01:00
lehugueni
f5bd86b76f remove PackedCTs struct + make struct private 2025-01-14 16:02:29 +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
1d70f2ced3 Merge pull request #509 from tuneinsight/serialization-compressed-keys
Fix serialization for compressed evaluation keys
2024-12-18 14:12:22 +01:00
lehugueni
af750eff23 update changelog 2024-12-17 16:43:07 +01:00
lehugueni
a04aedfae1 Merge branch 'main' into 510-bgv-wrong-result-from-innersum 2024-12-17 16:27:42 +01:00
lehugueni
3a52e44be6 apply feedback + add test cases + update changelog 2024-12-17 11:00:30 +01:00
dependabot[bot]
10eab53212 Bump golang.org/x/crypto from 0.18.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-13 10:45:34 +00:00
lehugueni
feb48dc188 Merge branch 'main' into serialization-compressed-keys 2024-12-12 16:31:36 +01:00
lehugueni
e7598efaa3 Merge pull request #511 from tuneinsight/govulncheck
Security checks: add govulncheck and gosec
2024-11-28 14:06:01 +01:00
lehugueni
019d29d113 Merge branch 'main' into govulncheck 2024-11-28 13:56:59 +01:00
lehugueni
e61e4f4049 Merge branch 'main' into 505-sparse-bootstrapping 2024-11-21 10:23:21 +01:00
lehugueni
76d8965ec4 fix params in bts shallowcopy 2024-11-21 10:22:32 +01:00
lehugueni
b67c72b7ba return ctIn when n=1, batchSize=k*N 2024-11-21 10:06:00 +01:00
lehugueni
141c402c91 tests + use maxslots instead of N 2024-11-21 09:26:19 +01:00
lehugueni
529dcd537d fix innersum bgv 2024-11-19 15:30:17 +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
3662cccdf8 Merge pull request #504 from tuneinsight/integrity-across-versions
Serialization inconsistency detection
2024-11-18 13:37:10 +01:00
Romain Bouyé
77572f7e9e Checks: add govulncheck and gosec
gosec run G115 is disabled
2024-11-14 17:44:52 +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
68b999e45a typos 2024-10-25 13:57:55 +02:00
lehugueni
08823dd10b doc + cleanup 2024-10-25 12:27:30 +02:00
lehugueni
60a87b34d4 packing cts in bootstrapping 2024-10-24 13:11:33 +02:00
lehugueni
698dd7b36b renamed NewEncryptorWithPRNG 2024-10-16 15:33:21 +02:00
lehugueni
451df99608 staticcheck 2024-10-15 14:53:26 +02:00
lehugueni
5da9d799fa detect serialization changes 2024-10-15 13:35:24 +02:00
lehugueni
11d7e40f87 Merge branch 'main' into integrity-across-versions 2024-10-15 13:33:38 +02:00
lehugueni
661575ca7e Merge pull request #499 from tuneinsight/squash
v6.1.0
v6.1.0
2024-10-14 10:53:06 +02:00
lehugueni
ed5dbd273e fix changelog 2024-10-14 08:58:38 +02:00
Romain Bouyé
ec7df71f8d Add link Go docs link in README 2024-10-07 15:37:44 +02:00
Romain Bouyé
4e8ac0a47b Fix small typos 2024-10-07 15:37:19 +02:00
lehugueni
7144b71941 update changelog 2024-10-07 11:47:48 +02: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
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
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