Commit Graph

37 Commits

Author SHA1 Message Date
Christian Grigis
3de057efbe Added evaluator and encryptor contexts for ckks 2019-11-28 18:21:43 +01:00
Christian Grigis
00f64b06ba Added evaluator and encryptor contexts for bfv 2019-11-28 18:18:29 +01:00
Christian Grigis
e98353ecb5 Changed all NewEncoder()'s to receive params 2019-11-28 18:18:28 +01:00
Jean-Philippe Bossuat
d5753fe465 CKKS : fast and eco normal/Chebyshev polynomial evaluation 2019-11-28 10:39:22 +01:00
Jean-Philippe Bossuat
f7b6eeb426 Ring : golint 2019-11-27 10:42:40 +01:00
Jean-Philippe Bossuat
d7b238771f examples 2019-11-26 17:35:36 +01:00
Jean-Philippe Bossuat
978035dc7c Ring : new benchmarks 2019-11-26 17:00:11 +01:00
Jean-Philippe Bossuat
05c65154b7 GoDoc and Typos 2019-11-26 15:46:30 +01:00
Jean-Philippe Bossuat
e6c87a3447 BFV : marshalers
Others : bfvcontext and ckkscontext are now called context
2019-11-25 17:44:09 +01:00
Christian Mouchet
45cc875df0 switched PIR example back to CKS output 2019-11-22 15:24:18 +01:00
Jean-Philippe Bossuat
135be7052d DBFV examples 2019-11-20 14:07:25 +01:00
Jean-Philippe Bossuat
3bac2027af bfv/ckks/dbfv/dckks error management 2019-11-19 10:56:43 +01:00
Jean-Philippe Bossuat
4a64c42587 ring, bfv : errors management
Errors that would previously induce a crash (ex. invalid parameters) are now handled with panic.
2019-11-18 17:31:06 +01:00
Jean-Philippe Bossuat
e43a55b557 BFV : new tests 2019-11-14 13:00:17 +01:00
Jean-Philippe Bossuat
2d1284661b fixed examples -> BFV 2019-11-12 10:51:54 +01:00
Jean-Philippe Bossuat
3350a5b13a dckks : new-keyswitch 2019-10-22 09:54:05 +02:00
Juan Ramón Troncoso-Pastoriza
de21f02390 Revised examples for CKKS and BFV 2019-10-01 18:13:59 +02:00
Jean-Philippe Bossuat
9a95105277 Updated examples and readme 2019-10-01 09:36:21 +02:00
Jean-Philippe Bossuat
adcbec1d2e reduced the number of possible errors 2019-09-28 15:45:12 +02:00
Jean-Philippe Bossuat
589fcbec4a bfv/ckks keygen 2019-09-28 13:43:07 +02:00
Jean-Philippe Bossuat
d7912262df ckks : encryptor api 2019-09-28 10:06:13 +02:00
Jean-Philippe Bossuat
b36d73f8b1 fixed dbfv, go fmt 2019-09-28 09:37:06 +02:00
Jean-Philippe Bossuat
2a4284f577 code cleaning 2019-09-27 15:23:42 +02:00
Christian Mouchet
ae7978b886 Merge branch 'master' into master_improvements 2019-09-25 18:48:00 +02:00
Joao Andre Gomes de Sa Sousa
fe7d2deb69 Changed the name of the organization in the and license (#10)
Our lab recently changed name for LDS (Laboratory for Data Security).
2019-09-24 18:39:04 +02:00
Christian Mouchet
8c84399938 evaluator operates over bfvElement struct (up to Mul) 2019-09-12 15:22:15 +02:00
Christian Mouchet
0b0617952b Created an Operand interface and reshaped the BigPoly class 2019-09-11 17:56:12 +02:00
Jean-Philippe Bossuat
2b30b2f708 Added Knuth-Yao Ternary sampler
Allows to sample within {-1, 0, -1} with pr =  [p/2, 1-p, p/2], for an arbitrary p. Faster than the current sampler.
go fmt
2019-09-06 10:56:36 +02:00
Jean-Philippe Bossuat
4c7651b9ea BFV : updated params, testing and example 2019-09-05 15:06:00 +02:00
Jean-Philippe Bossuat
4945d45aa5 CKKS : context generation revamp
Now the ckkscontext requires the chain of moduli (as bitsize) to be given as input instead of a generic logQ and levels.
2019-09-04 12:43:00 +02:00
Jean-Philippe Bossuat
90764e7194 CKKS : GoDoc 2019-09-04 12:05:21 +02:00
Jean-Philippe Bossuat
2f2f1bae8a ring : context benchmark
others : switched some methods to private
2019-09-04 12:05:21 +02:00
Jean-Philippe Bossuat
3cfee9b4ad Ring : godoc, minor optimization, some code cleaning, removed unused functions. 2019-08-27 12:38:15 +02:00
Jean-Philippe Bossuat
6cf176a4de Fixed broken packages 2019-08-27 09:58:52 +02:00
Jean-Philippe Bossuat
f627cf7ab4 BFV & CKKS : removed context from ciphertexts and plaintexts 2019-08-27 08:50:47 +02:00
ChristianMct
98730fd1af Fixed failing BFV relinearization test (closes #7)
* fixed complex scaling in ring that would return values above the expected bitsize, which fixed the BFV errors in relinearization.
2019-08-22 05:11:44 -07:00
Jean-Philippe Bossuat
4421f325b0 Initial commit 2019-08-12 21:15:01 +02:00