Commit Graph

5 Commits

Author SHA1 Message Date
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
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
27a5395ce2 Added trace operation + test and renamed base2k to backend 2025-05-21 16:55:01 +02:00