Commit Graph

449 Commits

Author SHA1 Message Date
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
Jean-Philippe Bossuat
ba27dcf3e6 fixed a typo & small optimization 2025-05-21 09:33:11 +02:00
Jean-Philippe Bossuat
fb35dfa0f7 Added automorphism + test on GGSW 2025-05-20 21:38:38 +02:00
Jean-Philippe Bossuat
640ff9ea61 Refactor of GGSW key-switch to enable easier implementation of GGSW automorphism 2025-05-20 17:42:43 +02:00
Jean-Philippe Bossuat
a803127424 Added noise equation for keyswitch over GGSW & updated associated test 2025-05-20 14:36:26 +02:00
Jean-Philippe Bossuat
7d84477e64 working GGSW key-switch + added test (missing noise formula) 2025-05-20 13:51:13 +02:00
Jean-Philippe Bossuat
06b3cccbff Added GGSW key-switching along with algo description 2025-05-20 11:43:18 +02:00
Jean-Philippe Bossuat
8f2eac4928 Added tensor key & associated test 2025-05-19 18:06:14 +02:00
Jean-Philippe Bossuat
c5fe07188f fixed tests of automorphism over glwe 2025-05-19 14:22:05 +02:00
Jean-Philippe Bossuat
b9cc210793 added test for automorphism on automorphism key 2025-05-19 14:05:20 +02:00
Jean-Philippe Bossuat
13e26c8152 Added test for automorphism inplace 2025-05-19 13:17:56 +02:00
Jean-Philippe Bossuat
937e7c6ccf fixed all broken tests 2025-05-19 13:04:37 +02:00
Jean-Philippe Bossuat
b71e526260 wip adding automorphism on AutomorphismKey 2025-05-16 16:27:49 +02:00
Jean-Philippe Bossuat
7434f289fe Added automorphism for glwe 2025-05-16 14:15:41 +02:00
Jean-Philippe Bossuat
c86af112eb All test passing 2025-05-16 10:22:42 +02:00
Jean-Philippe Bossuat
b80bcb8bbd fixed another buffer overflow of coefficient zeroing 2025-05-16 09:56:39 +02:00
Jean-Philippe Bossuat
49a08289db base2k: fixed buffer zeroing overflow 2025-05-16 09:47:04 +02:00
Jean-Philippe Bossuat
ccd7450c5f refactor of key-switching & external product 2025-05-15 18:24:56 +02:00
Jean-Philippe Bossuat
723a41acd0 fixed tests for ciphertext fourier 2025-05-15 10:45:06 +02:00
Jean-Philippe Bossuat
67594e2e3f fixed benchmarks 2025-05-15 10:07:36 +02:00
Jean-Philippe Bossuat
4c55a7df44 updated ggsw product noise prediction & added test for ggsw x glwe of rank > 1 2025-05-14 16:57:57 +02:00
Jean-Philippe Bossuat
f517a730a3 updated key-switch for rank switching & updated glwe key-switching test 2025-05-14 16:35:04 +02:00
Jean-Philippe Bossuat
cb1928802a Added noise based test for glwe pk enc 2025-05-14 14:57:04 +02:00
Jean-Philippe Bossuat
d489bef105 hard coded noise bound to 6 sigma 2025-05-14 09:18:46 +02:00
Jean-Philippe Bossuat
66188a12a6 added multiple rank glwe enc sk & fixed decryption for glwe 2025-05-14 09:10:05 +02:00
Jean-Philippe Bossuat
dee889dc0c working on adding rank to glwe (all test passing) 2025-05-14 08:42:45 +02:00
Jean-Philippe Bossuat
31b14ee585 rework for GLWE 2025-05-13 09:56:55 +02:00