Commit Graph

18 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
b5048fc8c1 [dbfv] : test revamp + t.Short() 2020-09-10 16:34:39 +02:00
Jean-Philippe Bossuat
4d93ec8ea0 golint 2020-09-10 15:57:20 +02:00
Elie Daou
21134a3533 [utils] use 512 bit keys for blake2b 2020-06-06 18:26:46 +02:00
Elie Daou
4961924ca3 [sampling] refactor sampling function names 2020-06-06 01:30:18 +02:00
Elie Daou
823468ab1b [sampling] migrate all samplers off crypto/rand 2020-06-04 00:19:06 +02:00
Elie Daou
cc50bccf1f [utils] Clean up PRNG interface 2020-06-02 11:38:50 +02:00
Elie Daou
61aa8931e2 [utils] Add osrand prng 2020-05-15 12:36:21 +02:00
Jean-Philippe Bossuat
70b7cc9e31 fixed a bug where the seed of the prng was not properly copied in the struct 2020-04-18 20:01:12 +02:00
Jean-Philippe Bossuat
758e501f91 Utils : changed PRNG to use XOF from blake2b
Ring : added samplegaussian to PRNG, reduced the memory allocation of sampleuniform and samplegaussian, fixed a pointer error in samplegaussian
2020-04-16 23:28:56 +02:00
tharvik
69b95b138f tests: use "require" more 2020-03-27 19:42:49 +01:00
Jean-Philippe Bossuat
f7b6eeb426 Ring : golint 2019-11-27 10:42:40 +01:00
Jean-Philippe Bossuat
05c65154b7 GoDoc and Typos 2019-11-26 15:46:30 +01:00
Jean-Philippe Bossuat
bda3455f14 Constant time isInSlice, shared utils package 2019-11-19 12:38:04 +01:00
Jean-Philippe Bossuat
43b064c806 fixed ring /test/test_prng, added test for utils/prng 2019-11-17 13:49:27 +01:00
Jean-Philippe Bossuat
d6ba2c4baf PRNG : faster but need to be keyed to be forward secure
Now returns the full digest (64bytes) and also reseeds with the full digest. To ensure forward security, it must be instantiated with a key.
Removed duplicate of PRNG in ring.
2019-11-16 19:24:09 +01:00
Jean-Philippe Bossuat
dc699b09e2 CKKS : new tests and benchmarks. RING : Ziggurat Sampling 2019-10-28 10:54:02 +01:00
Jean-Philippe Bossuat
4eb3f67aca CKKS : marshal params 2019-09-06 13:54:26 +02:00
Christian Mouchet
925c1de364 improvements on bfv/params.go 2019-08-15 07:43:07 +02:00