Use bit packing to reduce communication.

This commit is contained in:
Marcel Keller
2023-05-15 13:33:28 +10:00
parent 8e735daab5
commit 2f76d73698
26 changed files with 142 additions and 71 deletions

View File

@@ -33,4 +33,9 @@ void Semi::prepare_mult(const SemiSecret& x, const SemiSecret& y, int n,
prepare_mul(x, y, n);
}
void Semi::prepare_mul(const SemiSecret& x, const SemiSecret& y, int n)
{
super::prepare_mul(x.mask(n), y.mask(n), n);
}
} /* namespace GC */