Jean-Philippe Bossuat
c7219c35e9
Add schemes ( #71 )
...
* Move br + cbt to schemes/tfhe
* refactor blind rotation
* refactor circuit bootstrapping
* renamed exec -> prepared
2025-08-15 15:06:26 +02:00
Pro7ech
940742ce6c
Added more serialization tests + generalize methods to any n
2025-08-13 15:28:52 +02:00
Jean-Philippe Bossuat
9aa4b1f1e2
Dev serialization ( #64 )
...
* Added compressed serialization for GLWECiphertext + Ciphertext decompression
* Added compressed serialization for GGLWECiphertext & GLWESwitchingkey
* generalized automorphism test
* Removed ops on scalar_znx, replaced by as_vec_znx/as_vec_znx_mut and then call op on vec_znx
* Added tests for automorphism key encryption
* Added tensorkey compressed
* added ggsw compressed
2025-08-12 17:43:28 +02:00
Jean-Philippe Bossuat
4c59733566
Add & fix CI ( #60 )
2025-08-08 19:59:29 +02:00
Jean-Philippe Bossuat
0e0745065e
Add Hardware Abstraction Layer ( #56 )
2025-08-08 19:22:42 +02:00
Jean-Philippe Bossuat
90bb0ba60f
Merge remote-tracking branch 'origin/main' into jay/fhe-vm-fixes
2025-07-15 17:46:56 +02:00
Jean-Philippe Bossuat
52a6a130a5
Fixes after meeting
2025-07-11 13:03:11 +02:00
Janmajaya Mall
790b2c2d91
Merge branch 'dev_blind_rotate' into jay/fhe-vm-fixes
2025-07-09 16:54:00 +05:30
Janmajaya Mall
64edc869d0
Two changes:
...
- Fix setting `k` in `GlweOps`
- Improve GLWEPacker API avoid accumulating beyond limit (#50 )
2025-07-09 16:23:56 +05:30
Jean-Philippe Bossuat
5234c3fc63
Added LWE-GLWE conversion & LWE Keyswitch, improved LUT generation
2025-07-08 12:49:24 +02:00
Janmajaya Mall
463731948d
Bug fixes
...
- fixed `encoding.rs/decode_coeff_i64` for the case `k < basek2`
- `glwe/external_product.rs/external_product_scratch_space` did not allocate enough space for [`a_dft`](829b8be610/core/src/glwe/external_product.rs (L83) ) when `k_out < k_ggsw`. Fixed by replacing `in_size` with `ggsw_size`.
- `glwe/ops.rs/add` sets `basek` and `k`of `self` GLWECiphertext whic is invalid because the `size` which depends on `inner` data remains unchanged.
- (not a fix) expose `backend` from `core`.
2025-07-06 12:40:08 +05:30
Janmajaya Mall
c4a517e9c3
Fix decode_vec_i64 to handle the case k < basek
2025-07-04 16:03:46 +05:30
Jean-Philippe Bossuat
81fb710165
wip on extended br + bug fixing
2025-07-03 11:38:43 +02:00
Jean-Philippe Bossuat
c98bf75b61
Fixed lut & added test for lut
2025-07-02 12:25:22 +02:00
Jean-Philippe Bossuat
4c1a84d702
Added support for arbitrary extended LUT
2025-06-19 16:33:47 +02:00
Jean-Philippe Bossuat
829b8be610
wip on BR + added enc/dec for LWE
2025-06-18 17:34:07 +02:00
Jean-Philippe Bossuat
e8cfb5e2ab
Reorganized other crates
2025-06-17 12:39:36 +02:00
Jean-Philippe Bossuat
ec4253bb1c
Added LWESecret
2025-06-17 12:10:56 +02:00
Jean-Philippe Bossuat
d5dc9e6902
Fixed block binary secret generation & added CGGI blind rotation key generation
2025-06-17 12:10:56 +02:00
Jean-Philippe Bossuat
d826fcd5c8
Added binary key distributions
2025-06-17 12:10:56 +02:00
Jean-Philippe Bossuat
c77a819653
Added mat_znx_dft_mul_x_pow_minus_one
2025-06-17 12:10:56 +02:00
Jean-Philippe Bossuat
655b22ef21
Small optimization + more fixes
2025-06-11 14:31:32 +02:00
Jean-Philippe Bossuat
a673b84047
various bug fixes
2025-06-11 14:21:48 +02:00
Jean-Philippe Bossuat
113231da55
fixed all tests
2025-06-08 17:57:04 +02:00
Jean-Philippe Bossuat
33795df6c2
updated sub-module
2025-06-06 12:17:21 +02:00
Jean-Philippe Bossuat
ed9c94bbc8
Fixed API for scaled vmp mat add
2025-06-06 12:07:07 +02:00
Jean-Philippe Bossuat
159cd8025f
Added API in poulpy for updated vmp_add (+tests)
2025-06-05 19:18:48 +02:00
Jean-Philippe Bossuat
de4a5e9bfc
refactored secret key
2025-05-30 20:19:04 +02:00
Jean-Philippe Bossuat
82810a87c8
Added license
2025-05-30 11:48:04 +02:00
Jean-Philippe Bossuat
476ee0ef47
Added tmp_mat_znx_dft to Scratch
2025-05-28 14:55:31 +02:00
Jean-Philippe Bossuat
a295085724
refactor
2025-05-27 22:19:18 +02:00
Jean-Philippe Bossuat
dec3481a6f
bug fixes
2025-05-26 19:16:54 +02:00
Jean-Philippe Bossuat
4c3a568108
bug fixes
2025-05-26 13:55:21 +02:00
Jean-Philippe Bossuat
cb284a4c4c
wip
2025-05-25 11:15:59 +02:00
Jean-Philippe Bossuat
43c7f21033
some fixes
2025-05-22 17:40:01 +02:00
Jean-Philippe Bossuat
3084978976
Added basic GLWE ops
2025-05-22 16:08:44 +02:00
Jean-Philippe Bossuat
27a5395ce2
Added trace operation + test and renamed base2k to backend
2025-05-21 16:55:01 +02:00