Commit Graph

22 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
9aa4b1f1e2 Dev serialization (#64)
* Added compressed serialization for GLWECiphertext + Ciphertext decompression

* Added compressed serialization for GGLWECiphertext & GLWESwitchingkey

* generalized automorphism test

* Removed ops on scalar_znx, replaced by as_vec_znx/as_vec_znx_mut and then call op on vec_znx

* Added tests for automorphism key encryption

* Added tensorkey compressed

* added ggsw compressed
2025-08-12 17:43:28 +02:00
Jean-Philippe Bossuat
0e0745065e Add Hardware Abstraction Layer (#56) 2025-08-08 19:22:42 +02:00
Jean-Philippe Bossuat
a8e8743b50 Various fixes 2025-07-15 20:09:37 +02:00
Jean-Philippe Bossuat
52a6a130a5 Fixes after meeting 2025-07-11 13:03:11 +02:00
Jean-Philippe Bossuat
38df06f7ab Fixed lut generation 2025-07-08 18:50:04 +02:00
Jean-Philippe Bossuat
0e65df9795 export blind rotation 2025-07-08 17:00:50 +02:00
Jean-Philippe Bossuat
2e0e7e11b4 Enforce extension factor to be a power of two 2025-07-08 13:54:20 +02:00
Jean-Philippe Bossuat
af5bbbb55d fixed modulus switching rounding 2025-07-08 13:48:51 +02:00
Jean-Philippe Bossuat
f7c94cd84a fixed standard binary cggi blind rotation & fixed GLWECiphertext::external_product_scratch_space returning too small values 2025-07-08 13:37:35 +02:00
Jean-Philippe Bossuat
992cb3fa37 Added missing tests for CGGI & added standard blind rotation 2025-07-08 13:23:38 +02:00
Jean-Philippe Bossuat
5234c3fc63 Added LWE-GLWE conversion & LWE Keyswitch, improved LUT generation 2025-07-08 12:49:24 +02:00
Jean-Philippe Bossuat
e8454cd5f1 small fix on scratch space size 2025-07-03 11:39:46 +02:00
Jean-Philippe Bossuat
81fb710165 wip on extended br + bug fixing 2025-07-03 11:38:43 +02:00
Jean-Philippe Bossuat
c98bf75b61 Fixed lut & added test for lut 2025-07-02 12:25:22 +02:00
Jean-Philippe Bossuat
52154d6f8a wip CGGI BR for extended LUT 2025-06-20 11:00:04 +02:00
Jean-Philippe Bossuat
4c1a84d702 Added support for arbitrary extended LUT 2025-06-19 16:33:47 +02:00
Jean-Philippe Bossuat
6a006b442a working block binary BR 2025-06-18 22:23:32 +02:00
Jean-Philippe Bossuat
829b8be610 wip on BR + added enc/dec for LWE 2025-06-18 17:34:07 +02:00
Jean-Philippe Bossuat
e8cfb5e2ab Reorganized other crates 2025-06-17 12:39:36 +02:00
Jean-Philippe Bossuat
989ea077a9 Code organisation for glwe 2025-06-17 12:12:12 +02:00
Jean-Philippe Bossuat
ec4253bb1c Added LWESecret 2025-06-17 12:10:56 +02:00
Jean-Philippe Bossuat
d5dc9e6902 Fixed block binary secret generation & added CGGI blind rotation key generation 2025-06-17 12:10:56 +02:00