Commit Graph

322 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
669450c4f1 added encrypt_tmp_bytes 2025-05-06 14:46:26 +02:00
Jean-Philippe Bossuat
d2303aa29e small fix to generalize VecZnxBigAlloc 2025-05-06 14:46:11 +02:00
Jean-Philippe Bossuat
645f1a94ac scope shuffling for encryption of rlwe with sk 2025-05-06 14:40:57 +02:00
Jean-Philippe Bossuat
4efe22e723 Start of full rewrite of rlwe crate 2025-05-06 14:38:22 +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
Jean-Philippe Bossuat
6532f30f66 centralized sensitive code into VecZnxLayout 2025-04-26 12:34:42 +02:00
Jean-Philippe Bossuat
5841845e22 uniformized data access between VecZnx, VecZnxBig & VecZnxDft 2025-04-26 11:29:58 +02:00
Jean-Philippe Bossuat
82082db727 improved alligned vec allocation & fixed vec_znx calls, fixed auto dft test 2025-04-26 11:24:12 +02:00
Jean-Philippe Bossuat
2a96f89047 wip 2025-04-25 19:47:34 +02:00
Jean-Philippe Bossuat
90b34e171d fixed typo in doc 2025-04-25 11:08:55 +02:00
Jean-Philippe Bossuat
0cca56755b wip 2025-04-25 11:04:17 +02:00
Jean-Philippe Bossuat
79eee00974 Merge pull request #13 from phantomzone-org/dev_sml_vec_znx
Updated vec_znx to stacked memory layout
2025-04-25 09:25:43 +02:00
Jean-Philippe Bossuat
3bdddd3857 Added size and memory layout to VecZnxBig, VecZnxDft and VmpPmat 2025-04-25 09:19:47 +02:00
Jean-Philippe Bossuat
f0eaddb63e Added memory layout field 2025-04-25 08:57:08 +02:00
Jean-Philippe Bossuat
f64d786819 fixed rlwe package 2025-04-24 21:53:06 +02:00
Jean-Philippe Bossuat
e25ded5430 doc typo 2025-04-24 19:22:02 +02:00
Jean-Philippe Bossuat
83a7617f4b Updated vec_znx to stacked memory layout 2025-04-24 19:17:47 +02:00
Jean-Philippe Bossuat
04d74e589b Merge branch 'rand_update' 2025-04-24 19:16:32 +02:00
Jean-Philippe Bossuat
b33a96e80a updated rand to latest versions 2025-04-24 19:16:19 +02:00
Jean-Philippe Bossuat
640387d840 Merge branch 'dev_trace' 2025-04-24 19:14:56 +02:00
Jean-Philippe Bossuat
ad6e8169e5 Added basic key-switching + file formatting 2025-04-24 19:14:45 +02:00
Jean-Philippe Bossuat
4196477300 updated sub-module 2025-04-24 08:28:55 +02:00
Jean-Philippe Bossuat
8300fbca22 added rgsw product & automorphism 2025-04-23 16:43:07 +02:00
Jean-Philippe Bossuat
09981b78b5 trace working 2025-04-23 11:32:52 +02:00
Jean-Philippe Bossuat
9695761ff1 added automorphism & fixed gadget product noise estimation 2025-04-23 08:33:21 +02:00
Jean-Philippe Bossuat
fbdb4436b2 wip 2025-04-22 18:50:51 +02:00
Jean-Philippe Bossuat
d3e3594ae8 Updated submodule base2k/spqlios-arithmetic 2025-04-22 14:44:13 +02:00
Jean-Philippe Bossuat
39c33cc99d Merge pull request #9 from phantomzone-org/dev_auto
Added support for automorphism in DFT
2025-04-22 12:24:24 +02:00