From a1f966a172cc5eee0b63a9c5d2551de9b1507adf Mon Sep 17 00:00:00 2001 From: Janmajaya Mall Date: Wed, 24 Jul 2024 10:55:09 -0700 Subject: [PATCH] make non-interactive/interactive batched fhe bools struct public --- src/bool/mod.rs | 2 +- src/bool/ni_mp_api.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bool/mod.rs b/src/bool/mod.rs index 675fd46..7007526 100644 --- a/src/bool/mod.rs +++ b/src/bool/mod.rs @@ -242,7 +242,7 @@ mod common_mp_enc_dec { /// /// Bool ciphertext at `index` can be extracted from the coefficient at `index % /// N` of `index / N`th RLWE ciphertext. - pub(crate) struct BatchedFheBools { + pub struct BatchedFheBools { data: Vec, count: usize, } diff --git a/src/bool/ni_mp_api.rs b/src/bool/ni_mp_api.rs index 8cb847e..c3071dd 100644 --- a/src/bool/ni_mp_api.rs +++ b/src/bool/ni_mp_api.rs @@ -180,7 +180,7 @@ impl Global for RuntimeServerKey { } /// `Self::data` stores collection of seeded RLWE ciphertexts encrypted unser user j's RLWE secret `u_j`. -pub(crate) struct NonInteractiveSeededFheBools { +pub struct NonInteractiveSeededFheBools { data: Vec, seed: S, count: usize,