Commit Graph

248 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
e38ca404f9 Added tests for GRLWE x RGSW 2025-05-12 09:27:04 +02:00
Jean-Philippe Bossuat
73098af73a abstracted products for all cross types 2025-05-11 20:52:10 +02:00
Jean-Philippe Bossuat
54fab8e4f3 renamed crate & files 2025-05-11 11:16:30 +02:00
Jean-Philippe Bossuat
5d56d78d91 factorized out vmp ops into a common trait & implementation 2025-05-10 18:14:33 +02:00
Jean-Philippe Bossuat
4e5a8dba09 fixed rgsw mul rlwe test 2025-05-10 15:37:13 +02:00
Jean-Philippe Bossuat
912876807e wip: rgsw ops test 2025-05-10 11:39:16 +02:00
Jean-Philippe Bossuat
17e1678fb0 Added scratch space size for rgsw ops 2025-05-10 11:27:54 +02:00
Jean-Philippe Bossuat
ee7b5744e4 Added rgsw ops 2025-05-10 11:26:01 +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
107e83c65c Added grlwe encrypt + test 2025-05-08 15:35:21 +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
398ad604d9 added GRLWE and RGSW 2025-05-08 10:24:35 +02:00
Jean-Philippe Bossuat
2ec905bbc3 added vec_znx_idft_consume 2025-05-08 10:16:20 +02:00
Jean-Philippe Bossuat
48ac28c4ce Added sk/pk encryption for rlwe/rlwedft with tests 2025-05-07 17:04:42 +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
9afe9372bd wip, playing with base2k traits in rlwe crate to ensure inherent compatibility 2025-05-06 18:02:07 +02:00
Jean-Philippe Bossuat
fe6f99b9ce added rlwe basic sk encryption 2025-05-06 16:43:17 +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
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