Commit Graph

495 Commits

Author SHA1 Message Date
Pro7ech
785bb46df2 fix decoding to use rounded division instead of arithmetic right shift 2025-11-06 11:20:53 +01:00
Rasoul Akhavan Mahdavi
dc2d399602 avoid warnings 2025-11-05 20:38:20 -05:00
Pro7ech
18652da7e0 fix gglwe to ggsw key layout type 2025-11-05 22:21:26 +01:00
Pro7ech
be6483df75 Add bit/byte extraction to glwe 2025-11-05 15:17:55 +01:00
Pro7ech
92cfef5b60 add zero_byte for fhe_uint & fix test for glwe blind selection 2025-11-05 10:21:55 +01:00
Pro7ech
6cf571c0b0 add sext for fheuint 2025-11-05 09:25:05 +01:00
Pro7ech
f84bb02bc9 Fix API consistency 2025-11-04 15:55:43 +01:00
Pro7ech
5f30168cb5 Add glwe blind selection 2025-11-04 14:07:18 +01:00
Pro7ech
5e1f72402a Add helper trait for BDDKey 2025-11-03 14:22:11 +01:00
Jean-Philippe Bossuat
2feda14b63 removed unused field in macro + fixed BDD circuit eval for bits with 0 nodes 2025-10-31 10:35:23 +01:00
Jean-Philippe Bossuat
578ed45b9a Enables external circuits to be called 2025-10-31 10:01:02 +01:00
Pro7ech
f6170d01d3 update doc 2025-10-30 16:48:24 +01:00
Pro7ech
3cd79e5a90 Updated packing to clean values correctly 2025-10-30 15:58:30 +01:00
Pro7ech
a6970669dd Small API consistency fix 2025-10-30 12:05:42 +01:00
Pro7ech
201a1f64eb Replace hasmap of glweautomorphismkeys by helper trait, enabling not having to pass, for example, but full CBT key for ops that do not require it 2025-10-30 10:42:28 +01:00
Pro7ech
f03bb4931b Add splice u8 and u16 2025-10-29 21:03:58 +01:00
Pro7ech
8743eeb800 Add FheUint from Vec<GLWE> 2025-10-29 16:26:47 +01:00
Pro7ech
9d5bc43632 Update bit encoding to byte interleaving to enable trivial byte-level manipulation 2025-10-29 10:06:02 +01:00
Pro7ech
c761d2cae0 update BDD ciphertext types + API for GLWEToLWE 2025-10-29 00:59:45 +01:00
Pro7ech
37c76b6420 Add inplace ggsw-based blind-rotation 2025-10-28 16:03:26 +01:00
Pro7ech
8c1cc354e3 Update FheUint ciphertext naming + circuit evaluation based on GetGGSWBit 2025-10-28 15:44:05 +01:00
Pro7ech
a2aecfd380 Make FheUintBlocksPrepared allocation & encryption public 2025-10-28 11:24:22 +01:00
Pro7ech
ade1608465 move scratch trait requirement to be specific to method 2025-10-28 11:18:36 +01:00
Pro7ech
787504c230 Improve GGSW-based blind rotation API 2025-10-28 11:04:47 +01:00
Pro7ech
8ba01a6420 Merge remote-tracking branch 'origin/main' 2025-10-28 11:04:09 +01:00
Jean-Philippe Bossuat
9b8c554074 Merge pull request #110 from phantomzone-org/dev-phantom_features
Getters for blocks
2025-10-28 09:05:35 +01:00
Pro7ech
a085d36fd9 udpated changelog 2025-10-28 09:02:18 +01:00
Rasoul Akhavan Mahdavi
4afdbf4b89 Getters for blocks 2025-10-27 19:40:30 -04:00
Jean-Philippe Bossuat
9d8ba8a239 Merge pull request #109 from phantomzone-org/dev_bdd_selector
Add GGSW based blind rotation + refactor of tensorkey
2025-10-27 18:08:27 +01:00
Pro7ech
8d4c19a304 Distinguish between gglwe_to_ggsw key and tensor_key + update key repreentation 2025-10-27 18:03:18 +01:00
Pro7ech
41ca5aafcc Add glwe tensoiring 2025-10-26 19:03:15 +01:00
Pro7ech
6e9cef5ecd Auto stash before merge of "dev_bdd_selector" and "origin/dev_bdd_selector" 2025-10-26 17:31:07 +01:00
Pro7ech
f2a29f31fa Merge remote-tracking branch 'origin/dev_bdd_selector' into dev_bdd_selector 2025-10-26 17:30:20 +01:00
Jean-Philippe Bossuat
881483d1bb wip 2025-10-26 16:32:22 +01:00
Pro7ech
96c32c531c rename to what it actually does 2025-10-26 10:45:30 +01:00
Pro7ech
6dd93ceaea Add test for ggsw scalar blind rotation 2025-10-26 10:28:13 +01:00
Pro7ech
98208d5e67 add test for GLWEBlindRotation 2025-10-25 18:06:30 +02:00
Pro7ech
6d6d00e9e4 Add scratch space for ggsw blind rotation 2025-10-25 15:56:26 +02:00
Pro7ech
e6e685c00e Add GGSW blind rotation 2025-10-25 15:55:06 +02:00
Pro7ech
eaac9c07d8 Add GLWETensor 2025-10-25 15:43:18 +02:00
Jean-Philippe Bossuat
d989867c91 Add bdd rotation 2025-10-24 18:13:43 +02:00
Jean-Philippe Bossuat
96d8f4cfc4 update changelog 2025-10-24 15:12:55 +02:00
Jean-Philippe Bossuat
122bdce930 Typo 2025-10-24 15:07:04 +02:00
Jean-Philippe Bossuat
ce9aa52b90 Merge pull request #106 from phantomzone-org/dev_convolution
Add bivariate convolution
2025-10-24 13:06:12 +02:00
Jean-Philippe Bossuat
af1c98c2c4 Add bivariate convolution 2025-10-24 13:03:50 +02:00
Jean-Philippe Bossuat
9bb6256fc4 update changelog 2025-10-23 16:23:03 +02:00
Pro7ech
5cd2d0ca13 Updated workspace 2025-10-23 11:41:26 +02:00
Jean-Philippe Bossuat
93c7587692 Merge pull request #105 from phantomzone-org/dev_bdd
Update BDD circuits, add tests & fix non-zero scratch related bug
2025-10-23 10:14:30 +02:00
Pro7ech
06795e9547 Add tests to BDD 2025-10-23 10:11:12 +02:00
Pro7ech
9067de8d96 update BDD circuits & fix non-zero scratch related bug 2025-10-22 18:10:15 +02:00