Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
richajaindce committed Oct 31, 2023
1 parent 4d2469e commit 0e9f41b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cli/playbook/ipa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ where
let inputs = buffers.map(BodyStream::from);
tracing::info!("Starting query after finishing encryption");

do_processing::<F>(inputs, clients, query_id, query_config).await
do_processing::<F>(inputs, query_size, clients, query_id, query_config).await
}

pub async fn playbook_oprf_ipa<F>(
Expand Down Expand Up @@ -136,11 +136,12 @@ where
let inputs = buffers.map(BodyStream::from);
tracing::info!("Starting query for OPRF");

do_processing::<F>(inputs, clients, query_id, query_config).await
do_processing::<F>(inputs, query_size, clients, query_id, query_config).await
}

pub async fn do_processing<F>(
inputs: [BodyStream; 3],
query_size: usize,
clients: &[MpcHelperClient; 3],
query_id: QueryId,
query_config: IpaQueryConfig,
Expand All @@ -149,7 +150,6 @@ where
F: PrimeField,
AdditiveShare<F>: Serializable,
{
let query_size = inputs.len();
let mpc_time = Instant::now();
try_join_all(
inputs
Expand Down

0 comments on commit 0e9f41b

Please sign in to comment.