Commit Graph

459 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
10d1780aaa Merge pull request #112 from phantomzone-org/bdd_multi_thread
Bdd multi thread
2025-11-12 15:41:55 +01:00
Pro7ech
33e1656368 Remove T from GetBitCircuit 2025-11-12 15:08:21 +01:00
Pro7ech
1423de1c46 Add multi-thread bdd eval 2025-11-12 11:04:32 +01:00
Pro7ech
6924ffd94a Add prepare multi thread 2025-11-11 23:30:20 +01:00
Pro7ech
af45595848 Improve noise stats functionality 2025-11-11 11:19:17 +01:00
Jean-Philippe Bossuat
e7bf8e9307 fix sext 2025-11-08 18:14:58 +01:00
Pro7ech
8f7cb9fbc5 Add decrypt on fhe_uint_prepared 2025-11-08 12:14:05 +01:00
Pro7ech
75842cd80a Improve cmux speed 2025-11-07 17:56:33 +01:00
Pro7ech
836df871fe Add normalize in cmux & uint_prepared to uint 2025-11-07 16:30:47 +01:00
Pro7ech
f13d61443c fix api inconsistency 2025-11-07 08:53:53 +01:00
Pro7ech
c99bc86120 Merge branch 'dev-phantom_features' 2025-11-07 08:49:41 +01:00
Pro7ech
1d23dfc078 Update to custom fheuint prepare 2025-11-07 08:49:32 +01:00
Rasoul Akhavan Mahdavi
5cf184d950 partial fheuint preparation 2025-11-07 00:47:29 -05:00
Pro7ech
c32db7d963 add take ggsw slice 2025-11-06 19:01:21 +01:00
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