Commit Graph

116 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
ba27dcf3e6 fixed a typo & small optimization 2025-05-21 09:33:11 +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
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
b9cc210793 added test for automorphism on automorphism key 2025-05-19 14:05:20 +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
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
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
Jean-Philippe Bossuat
9913040aa1 Added grlwe ops + tests 2025-05-09 18:24:08 +02:00
Jean-Philippe Bossuat
de3b34477d added rgsw encrypt + test 2025-05-08 18:32:19 +02:00
Jean-Philippe Bossuat
1f384ce54d Added vec_znx_add/sub_scalar & available on Scratch 2025-05-08 15:21:24 +02:00
Jean-Philippe Bossuat
8b3b2e4b9c added grlwe sk encryption 2025-05-08 11:19:54 +02:00
Jean-Philippe Bossuat
2ec905bbc3 added vec_znx_idft_consume 2025-05-08 10:16:20 +02:00
Jean-Philippe Bossuat
6cbd2a6a93 Some fixes & QoL to Base2k 2025-05-07 16:47:58 +02:00
Jean-Philippe Bossuat
64874dbda8 multiples fixes to base2k, including svp to take into account column interleaving 2025-05-07 15:51:01 +02:00
Jean-Philippe Bossuat
6ce525e5a1 added sk encryption 2025-05-07 12:05:22 +02:00
Jean-Philippe Bossuat
240884db8d fixed wrong buffer size zeroing 2025-05-07 12:05:22 +02:00
Jean-Philippe Bossuat
a6224f7563 updated Scalar name 2025-05-07 12:05:22 +02:00
Jean-Philippe Bossuat
ccebb80660 wip 2025-05-07 12:05:22 +02:00
Jean-Philippe Bossuat
e35924f44c small fix to base2k rlwe encryption example 2025-05-06 16:43:06 +02:00
Jean-Philippe Bossuat
f9b194cca1 Updated svp 2025-05-06 16:02:32 +02:00
Jean-Philippe Bossuat
d2303aa29e small fix to generalize VecZnxBigAlloc 2025-05-06 14:46:11 +02:00
Jean-Philippe Bossuat
08e81f50c9 updated sampling traits 2025-05-06 14:35:52 +02:00
Jean-Philippe Bossuat
ffa363804b rework as discussed 2025-05-05 17:35:35 +02:00
Janmajaya Mall
bd105497fd amend rlwe_encrypt example and minor changes at multiple places 2025-05-04 19:46:22 +05:30
Janmajaya Mall
b82a1ca1b4 wip 2025-05-04 18:39:28 +05:30
Janmajaya Mall
ff8370e023 everything compiles. Scratchpad not yet implemented 2025-05-03 16:37:20 +05:30
Janmajaya Mall
3ed6fa8ab5 wip 2025-05-02 20:49:04 +05:30
Jean-Philippe Bossuat
ca5e6d46c9 Applied discussed changes, everything working, but still to discuss 2025-05-01 23:29:32 +02:00
Jean-Philippe Bossuat
4e6fce3458 split mat_znx into struct and ops + added missing ops on module 2025-05-01 08:39:56 +02:00
Jean-Philippe Bossuat
7233e2509d removed unecessary allow 2025-04-30 23:23:54 +02:00
Jean-Philippe Bossuat
9ade995cd7 reworked scalar 2025-04-30 23:23:01 +02:00
Jean-Philippe Bossuat
6f7b93c7ca wip major refactoring (compiles & all test + example passing) 2025-04-30 18:21:02 +02:00
Jean-Philippe Bossuat
2cc51eee18 working rlwe encryption example with interleaved polynomial 2025-04-29 21:53:27 +02:00
Jean-Philippe Bossuat
06d0c5e832 more fixes 2025-04-29 18:16:09 +02:00
Jean-Philippe Bossuat
917a472437 wip: change of approach, enables to select columns on which to operate 2025-04-29 18:14:16 +02:00
Jean-Philippe Bossuat
4f54234bc4 Finished adding VecZnxBig<FFT64> ops 2025-04-29 16:15:31 +02:00
Jean-Philippe Bossuat
bd933c0e94 Added VecZnxBig<FFT64> ops 2025-04-29 15:53:26 +02:00
Jean-Philippe Bossuat
3ee69866bd Generalized apply_binary_op & apply_unary_op 2025-04-29 14:33:07 +02:00
Jean-Philippe Bossuat
d86d6b6ee8 Updated vec_znx_big doc 2025-04-29 12:52:35 +02:00
Jean-Philippe Bossuat
48cfc0027b Updated vec_znx_ops doc 2025-04-29 12:46:25 +02:00
Jean-Philippe Bossuat
2f9a1cf6d9 refactoring of vec_znx 2025-04-29 12:03:11 +02:00
Jean-Philippe Bossuat
39bbe5b917 added tests for sampling (and indirectly stats) 2025-04-28 09:02:58 +02:00
Janmajaya Mall
78b6e9544d Updated all crates to edition 2024 and set workspace resolver to "3".
`gen` is reserved keyword in 2024. So modigied `galois_element` function in base2k/src/module.rs for compat
2025-04-28 11:17:16 +05:30
Jean-Philippe Bossuat
54148acf6b more refactoring 2025-04-26 13:19:22 +02:00