24 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
4e90e08a71 Support for bivariate convolution & normalization with offset (#126)
* Add bivariate-convolution
* Add pair-wise convolution + tests + benches
* Add take_cnv_pvec_[left/right] to Scratch & updated CHANGELOG.md
* cross-base2k normalization with positive offset
* clippy & fix CI doctest avx compile error
* more streamlined bounds derivation for normalization
* Working cross-base2k normalization with pos/neg offset
* Update normalization API & tests
* Add glwe tensoring test
* Add relinearization + preliminary test
* Fix GGLWEToGGSW key infos
* Add (X,Y) convolution by const (1, Y) poly
* Faster normalization test + add bench for cnv_by_const
* Update changelog
2025-12-21 16:56:42 +01:00
Rasoul Akhavan Mahdavi
4a6c96dfc8 clippy + cleanup 2025-12-01 22:07:03 -05:00
Rasoul Akhavan Mahdavi
48407ccefc Examples, benchmarks, and minor changes for consistency, in BDD API 2025-12-01 00:41:31 -05:00
Pro7ech
3c818d292b Update to non-avx builds 2025-11-21 16:38:19 +01:00
Jean-Philippe Bossuat
9e007c988f Backend refactor (#120)
* remove spqlios, split cpu_ref and cpu_avx into different crates

* remove spqlios submodule

* update crate naming & add avx tests
2025-11-19 15:34:31 +01:00
Pro7ech
2fb1627613 fixed many test noise check + update noise retrieval (not passing) 2025-11-18 17:38:16 +01:00
Pro7ech
f39e3e2865 Remove Zn (replaced by VecZnx), add more cross-base2k ops & tests 2025-11-18 01:08:20 +01:00
Pro7ech
18652da7e0 fix gglwe to ggsw key layout type 2025-11-05 22:21:26 +01:00
Pro7ech
706ecf3d07 compiling CBT but failing tests 2025-10-22 10:00:32 +02:00
Pro7ech
2ea59310fb wip 2025-10-15 18:26:32 +02:00
Pro7ech
10817a8529 wip 2025-10-15 17:15:51 +02:00
Pro7ech
72dca47cbe wip 2025-10-14 18:46:25 +02:00
Pro7ech
cf377ff243 wip 2025-10-13 12:14:11 +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
Jean-Philippe Bossuat
56dbd29c59 Ref. + AVX code & generic tests + benches (#85) 2025-09-15 16:16:11 +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
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
Jean-Philippe Bossuat
62eb87cc07 updated repo for publishing (#74) 2025-08-17 14:57:39 +02:00