Commit Graph

325 Commits

Author SHA1 Message Date
Janmajaya Mall
c4a517e9c3 Fix decode_vec_i64 to handle the case k < basek 2025-07-04 16:03:46 +05:30
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
4d4b43a4e5 Re-organized code for glwe testing 2025-06-17 12:12:12 +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
Jean-Philippe Bossuat
d826fcd5c8 Added binary key distributions 2025-06-17 12:10:56 +02:00
Jean-Philippe Bossuat
c77a819653 Added mat_znx_dft_mul_x_pow_minus_one 2025-06-17 12:10:56 +02:00
Jean-Philippe Bossuat
044dab21c4 Merge pull request #41 from phantomzone-org/dev_vmp_digits
Enable digit decomposition > 1
2025-06-17 12:10:25 +02:00
Jean-Philippe Bossuat
4455afdabd factored out blackbox in benchmarks 2025-06-17 09:52:15 +02:00
Jean-Philippe Bossuat
b93e011347 fixed automorphism on gglwe for k_out < k_in 2025-06-17 09:46:22 +02:00
Jean-Philippe Bossuat
ca19def72f typo 2025-06-17 09:33:35 +02:00
Jean-Philippe Bossuat
4753b73cc7 removed div_ceil 2025-06-17 09:33:04 +02:00
Jean-Philippe Bossuat
e6ec588d6d typo 2025-06-17 09:20:36 +02:00
Jean-Philippe Bossuat
655b22ef21 Small optimization + more fixes 2025-06-11 14:31:32 +02:00
Jean-Philippe Bossuat
a673b84047 various bug fixes 2025-06-11 14:21:48 +02:00
Jean-Philippe Bossuat
113231da55 fixed all tests 2025-06-08 17:57:04 +02:00
Jean-Philippe Bossuat
33795df6c2 updated sub-module 2025-06-06 12:17:21 +02:00
Jean-Philippe Bossuat
ed9c94bbc8 Fixed API for scaled vmp mat add 2025-06-06 12:07:07 +02:00
Jean-Philippe Bossuat
159cd8025f Added API in poulpy for updated vmp_add (+tests) 2025-06-05 19:18:48 +02:00
Jean-Philippe Bossuat
fcdc8f53d3 Merge pull request #24 from phantomzone-org/dev_sk
refactored secret key
2025-06-04 08:42:13 +02:00
Jean-Philippe Bossuat
17995d68ff removed tracking of .vscode 2025-06-04 08:40:50 +02:00
Jean-Philippe Bossuat
de4a5e9bfc refactored secret key 2025-05-30 20:19:04 +02:00
Jean-Philippe Bossuat
82810a87c8 Added license 2025-05-30 11:48:04 +02:00
Jean-Philippe Bossuat
f9440c5407 Updated arguments to get scratch space size for ops 2025-05-30 09:05:07 +02:00
Jean-Philippe Bossuat
8209fb4e40 Replaced manual core structs scratch allocation by new API on Scratch 2025-05-28 15:59:49 +02:00
Jean-Philippe Bossuat
f2b671329d Added support for packing GLWE 2025-05-28 15:20:06 +02:00
Jean-Philippe Bossuat
f58d06ddf5 Added bytes_of to structs that can be created through the trait extension of Scratch 2025-05-28 15:19:52 +02:00
Jean-Philippe Bossuat
187756a495 Added extension trait for struct allocation 2025-05-28 15:11:04 +02:00
Jean-Philippe Bossuat
476ee0ef47 Added tmp_mat_znx_dft to Scratch 2025-05-28 14:55:31 +02:00
Jean-Philippe Bossuat
3f910eb498 Merge pull request #21 from phantomzone-org/dev_trace
Add trace + basic GLWE operations + refactor of backend
2025-05-28 12:04:18 +02:00
Jean-Philippe Bossuat
fa1a1fc49b added glwe ops on plaintext 2025-05-27 23:40:17 +02:00
Jean-Philippe Bossuat
a295085724 refactor 2025-05-27 22:19:18 +02:00
Jean-Philippe Bossuat
dec3481a6f bug fixes 2025-05-26 19:16:54 +02:00
Jean-Philippe Bossuat
e5d6a6f828 fixed tests 2025-05-26 13:57:19 +02:00
Jean-Philippe Bossuat
4c3a568108 bug fixes 2025-05-26 13:55:21 +02:00
Jean-Philippe Bossuat
cb284a4c4c wip 2025-05-25 11:15:59 +02:00
Jean-Philippe Bossuat
43c7f21033 some fixes 2025-05-22 17:40:01 +02:00
Jean-Philippe Bossuat
3084978976 Added basic GLWE ops 2025-05-22 16:08:44 +02:00
Jean-Philippe Bossuat
dbbbe2bd92 fixed benches 2025-05-22 09:46:29 +02:00
Jean-Philippe Bossuat
27a5395ce2 Added trace operation + test and renamed base2k to backend 2025-05-21 16:55:01 +02:00
Janmajayamall
acd81c40c2 Merge pull request #20 from phantomzone-org/jay/restructure-base2k
Major refactoring on memory layout, memory safety & basic functionalities
2025-05-21 15:02:09 +05:30
Jean-Philippe Bossuat
fa067228da Added remaining missing test 2025-05-21 11:31:28 +02:00