From 9c00477f24240138b18d1641988653a9a56504b5 Mon Sep 17 00:00:00 2001 From: Richa Jain Date: Fri, 29 Sep 2023 17:10:03 +0800 Subject: [PATCH] Merge issues --- src/protocol/prf_sharding/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/protocol/prf_sharding/mod.rs b/src/protocol/prf_sharding/mod.rs index 9f8866d09..c4ef2a633 100644 --- a/src/protocol/prf_sharding/mod.rs +++ b/src/protocol/prf_sharding/mod.rs @@ -22,7 +22,7 @@ use crate::{ malicious::ExtendableField, semi_honest::AdditiveShare as Replicated, ReplicatedSecretSharing, }, - BitDecomposed, Linear as LinearSecretSharing, SharedValue, + BitDecomposed, Linear as LinearSecretSharing, LinearRefOps, SharedValue, }, seq_join::{seq_join, seq_try_join_all}, }; @@ -277,6 +277,7 @@ where C: UpgradableContext, C::UpgradedContext: UpgradedContext, S: LinearSecretSharing + Serializable + SecureMul>, + for<'a> &'a S: LinearRefOps<'a, S, F>, C::UpgradedContext: UpgradedContext>, F: PrimeField + ExtendableField, TV: GaloisField, @@ -311,6 +312,7 @@ async fn do_aggregation( where C: UpgradedContext, S: LinearSecretSharing + Serializable + SecureMul, + for<'a> &'a S: LinearRefOps<'a, S, F>, BK: GaloisField, TV: GaloisField, F: PrimeField + ExtendableField,