Commit Graph

6 Commits

Author SHA1 Message Date
Jean-Philippe Bossuat
0e0745065e Add Hardware Abstraction Layer (#56) 2025-08-08 19:22:42 +02:00
Jean-Philippe Bossuat
a8e8743b50 Various fixes 2025-07-15 20:09:37 +02:00
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
Janmajaya Mall
b99f43aa0f Make GLWECiphertextToRef/{ToMut} implement Infos 2025-07-08 13:53:43 +05:30
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
Jean-Philippe Bossuat
989ea077a9 Code organisation for glwe 2025-06-17 12:12:12 +02:00