Skip to content

Commit

Permalink
Remove impl BooleanArrayMul<SemiHonestContext<...>>
Browse files Browse the repository at this point in the history
This goes with private-attribution#1129.
  • Loading branch information
andyleiserson committed Jun 13, 2024
1 parent c56449c commit e75faa5
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions ipa-core/src/protocol/basics/mul/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use crate::{
context::{
dzkp_semi_honest::DZKPUpgraded as SemiHonestDZKPUpgraded,
semi_honest::Upgraded as SemiHonestUpgraded, Context, DZKPUpgradedMaliciousContext,
SemiHonestContext,
},
RecordId,
},
Expand Down Expand Up @@ -85,25 +84,6 @@ where

macro_rules! boolean_array_mul {
($dim:expr, $vec:ty) => {
impl<'a, B> BooleanArrayMul<SemiHonestContext<'a, B>> for Replicated<$vec>
where
B: sharding::ShardBinding,
{
type Vectorized = Replicated<Boolean, $dim>;

fn multiply<'fut>(
ctx: SemiHonestContext<'a, B>,
record_id: RecordId,
a: &'fut Self::Vectorized,
b: &'fut Self::Vectorized,
) -> impl Future<Output = Result<Self::Vectorized, Error>> + Send + 'fut
where
SemiHonestContext<'a, B>: 'fut,
{
semi_honest_multiply(ctx, record_id, a, b)
}
}

impl<'a, B, F> BooleanArrayMul<SemiHonestUpgraded<'a, B, F>> for Replicated<$vec>
where
B: sharding::ShardBinding,
Expand Down

0 comments on commit e75faa5

Please sign in to comment.