arnaucube
arnaucube/phantom-zonePublic Self-hosted repository
make non-interactive/interactive batched fhe bools struct public
Janmajaya Mall janmajayamall@protonmail.com
Wed, 24 Jul 2024 10:55:09 -0700
commit

a1f966a172cc5eee0b63a9c5d2551de9b1507adf

parent

97daa79f5c9957c96ec09f6f5538a24eabf22a32

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/bool/mod.rs → src/bool/mod.rs

@@ -242,7 +242,7 @@ /// `Self` stores batch of boolean ciphertexts as collection of `unseeded RLWE ciphertexts` encrypted under the ideal RLWE secret key of the protocol.

/// /// Bool ciphertext at `index` can be extracted from the coefficient at `index % /// N` of `index / N`th RLWE ciphertext. - pub(crate) struct BatchedFheBools<C> { + pub struct BatchedFheBools<C> { data: Vec<C>, count: usize, }
M src/bool/ni_mp_api.rs → src/bool/ni_mp_api.rs

@@ -180,7 +180,7 @@ }

} /// `Self::data` stores collection of seeded RLWE ciphertexts encrypted unser user j's RLWE secret `u_j`. -pub(crate) struct NonInteractiveSeededFheBools<C, S> { +pub struct NonInteractiveSeededFheBools<C, S> { data: Vec<C>, seed: S, count: usize,