mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
Use bit packing to reduce communication.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user