You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added `PlaintextModulus` enum to `BfvParameters` to support both `Small` (u64) and `Large` (BigUint) moduli.
- Updated `Plaintext` to store values in `PlaintextValues` enum (`Small` or `Large`).
- Updated `PlaintextVec` encoders/decoders to handle both variants.
- Updated `SecretKey` decryption to correctly lift RNS residues to `BigUint` for large moduli.
- Added `default_biguint_arc` helper in `BfvParameters` for testing.
- Added comprehensive unit tests in `crates/fhe/src/bfv/tests_biguint.rs` covering encryption, decryption, homomorphic addition, and multiplication (with/without relin).
- Removed `num-integer` dependency and cleaned up code.
- Fixed encoding logic to reduce `BigUint` inputs modulo `Small` plaintext moduli.
- Updated `fhe.proto` to include optional `plaintext_big` field.
Co-authored-by: tlepoint <1345502+tlepoint@users.noreply.github.com>
0 commit comments