Commit Graph

11 Commits

Author SHA1 Message Date
74878e6928 upgrade rand,rand_distr deps 2026-01-16 10:33:36 +00:00
fb1fb6b4e9 Rm const generics (#2)
* arith: get rid of constant generics. Reason:

using constant generics was great for allocating the arrays in the
stack, which is faster, but when started to use bigger parameter values,
in some cases it was overflowing the stack. This commit removes all the
constant generics in all of the `arith` crate, which in some cases slows
a bit the performance, but allows for bigger parameter values (on the
ones that affect lengths, like N and K).

* bfv: get rid of constant generics (reason in previous commit)

* ckks: get rid of constant generics (reason in two commits ago)

* group ring params under a single struct

* gfhe: get rid of constant generics

* tfhe: get rid of constant generics

* polish & clean a bit

* add methods for encoding constants for ct-pt-multiplication
2025-08-14 18:32:43 +02:00
13abadf6e1 tfhe: add bootstrapping impl
add initial version of bootstrapping implementation
2025-08-03 21:24:17 +00:00
2c20a2ed0e tfhe: add blind_rotation & lookup table computation 2025-08-03 19:12:47 +00:00
0617b8b9ff tfhe: add TGLWE.sample_extraction 2025-08-02 20:27:36 +00:00
55c892cc47 add TLWE key_switching 2025-07-28 12:02:17 +00:00
f053e9a904 add TGSW encryption & decryption 2025-07-27 19:41:15 +00:00
81306edf05 fusion TFHE to use GFHE underthehood 2025-07-24 14:32:44 +00:00
4790fdbb3b tfhe: ciphertext-plaintext multiplication 2025-07-22 15:42:24 +00:00
f0745da902 add TLWE ciphertexts addition, substraction, plaintext(constant)-addition 2025-07-22 15:31:03 +00:00
0ca73ac505 (TFHE): add TLWE encryption & decryption 2025-07-22 14:59:56 +00:00