Commit Graph

348 Commits

Author SHA1 Message Date
Rasoul Akhavan Mahdavi
9f35a92a33 wip all of Encryption 2025-10-15 21:31:48 -04:00
Rasoul Akhavan Mahdavi
2f2c7aef00 glwe and lwe decryption 2025-10-15 18:36:59 -04:00
Pro7ech
2ea59310fb wip 2025-10-15 18:26:32 +02:00
Pro7ech
10817a8529 wip 2025-10-15 17:15:51 +02:00
Pro7ech
15ee02e21d wip 2025-10-15 15:39:52 +02:00
Pro7ech
58bee4805e wip 2025-10-15 11:18:52 +02:00
Pro7ech
9f64f691ca wip 2025-10-15 11:13:03 +02:00
Pro7ech
c604676f2e wip 2025-10-15 11:11:57 +02:00
Pro7ech
008b800c01 wip 2025-10-15 10:48:14 +02:00
Pro7ech
a5df85170d wip 2025-10-14 23:45:00 +02:00
Pro7ech
779e02acc4 wip 2025-10-14 23:39:16 +02:00
Pro7ech
72dca47cbe wip 2025-10-14 18:46:25 +02:00
Pro7ech
0533cdff8a wip 2025-10-13 23:49:09 +02:00
Pro7ech
d32b4738c3 wip 2025-10-13 17:19:02 +02:00
Pro7ech
d28ccb4c8f wip 2025-10-13 12:55:06 +02:00
Pro7ech
cf377ff243 wip 2025-10-13 12:14:11 +02:00
Pro7ech
662e533eac wip 2025-10-12 21:34:10 +02:00
Pro7ech
f72363cc4b Correct GGSWInfos trait 2025-10-10 15:52:17 +02:00
Pro7ech
c49db0688f Add take_ggsw_prepared_slice 2025-10-10 12:52:48 +02:00
Jean-Philippe Bossuat
8d3fed3ae7 Removed generic data type in PrepareScratchSpace trait 2025-10-09 17:18:15 +02:00
Jean-Philippe Bossuat
312ecc7f2f removed self from PrepareScratch trait 2025-10-09 17:13:43 +02:00
Jean-Philippe Bossuat
2884935a38 Added PrepareScratchSpace trait 2025-10-09 17:07:53 +02:00
Pro7ech
8eafcaff1f fix BDD Binary Circuits 2025-10-08 17:57:56 +02:00
Jean-Philippe Bossuat
6357a05509 Add BDD Arithmetic (#98)
* Added some circuit, evaluation + some layouts

* Refactor + memory reduction

* Rows -> Dnum, Digits -> Dsize

* fix #96 + glwe_packing (indirectly CBT)

* clippy
2025-10-08 17:52:03 +02:00
Jean-Philippe Bossuat
37e13b965c Add cross-basek normalization (#90)
* added cross_basek_normalization

* updated method signatures to take layouts

* fixed cross-base normalization

fix #91
fix #93
2025-09-30 14:40:10 +02:00
Janmajayamall
4da790ea6a Changes to build on macos (#92)
* update spqlios-airthmetic to latest e8aed63

* finally, builds on macos

* clippy

---------

Co-authored-by: Pro7ech <jeanphilippe.bossuat@gmail.com>
2025-09-25 14:39:27 +02:00
Pro7ech
af5d8a308f fmt 2025-09-15 19:19:23 +02:00
Pro7ech
c8a1997a57 removed prints 2025-09-15 19:09:49 +02:00
Pro7ech
e2625caa00 Add CHANGELOG.md 2025-09-15 17:48:12 +02:00
Jean-Philippe Bossuat
56dbd29c59 Ref. + AVX code & generic tests + benches (#85) 2025-09-15 16:16:11 +02:00
Pro7ech
99b9e3e10e updated README 2025-08-25 12:33:53 +02:00
Pro7ech
39062462bc Merge branch 'dev_cleanup' 2025-08-25 11:59:30 +02:00
Pro7ech
a1b865709d renamed vmp API closer to spqlios 2025-08-25 11:58:57 +02:00
Pro7ech
1551f7a6f0 rename raw dft ops 2025-08-25 09:08:27 +02:00
Pro7ech
62448e0293 Move znx layouts traits to layouts 2025-08-24 17:21:05 +02:00
Pro7ech
bf513dc555 Add Zn type 2025-08-21 12:17:10 +02:00
Jean-Philippe Bossuat
ccd94e36cc Update READMEs & add SECURITY.md (#78) 2025-08-20 20:52:59 +02:00
Pro7ech
3b94ab047e update README 2025-08-18 11:32:39 +02:00
Jean-Philippe Bossuat
a1de248567 Crates io (#76)
* crates re-organisation

* fixed typo in layout & added test for vmp_apply

* updated dependencies
2025-08-18 11:16:27 +02:00
Pro7ech
dce4d82706 cleaned dependencies 2025-08-17 15:17:37 +02:00
Jean-Philippe Bossuat
62eb87cc07 updated repo for publishing (#74) 2025-08-17 14:57:39 +02:00
Jean-Philippe Bossuat
0be569eca0 Clippy check & update CI (#73)
* updated CI workflow with clippy & fmt
2025-08-17 13:02:47 +02:00
Jean-Philippe Bossuat
3a828740cc Traits cleaning, CBT example & bug fixes (#72)
* Some cleaning, CBT example, fix mod switch and add LUT correctness test to BR test

* finished trait cleaning

* removed trait aliastoutside of backend
2025-08-16 18:23:22 +02:00
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
Jean-Philippe Bossuat
8d9897b88b core refactoring (#69) 2025-08-14 17:20:28 +02:00
Pro7ech
6303346eef More serialization tests & compressed structs 2025-08-13 20:01:44 +02:00
Jean-Philippe Bossuat
504cb72f82 Add CBT prototype (#68) 2025-08-13 15:56:09 +02:00
Pro7ech
940742ce6c Added more serialization tests + generalize methods to any n 2025-08-13 15:28:52 +02:00
Jean-Philippe Bossuat
068470783e Fix compressed encryptions & add GGSW compressed encryption (#67)
* Added decompress test

* updated encryption sampling & fixed bug in glwe -> lwe test

* Added GGSW compressed encryption
2025-08-13 09:45:44 +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