privacy-scaling-explorations / mpz

Multi-party computation libraries written in Rust 🦀
182 stars 39 forks source link

Preprocessing Lazy API #160

Open sinui0 opened 3 months ago

sinui0 commented 3 months ago

With the introduction of the Allocate trait in #155 we introduced a "lazy" API for preprocessing OTs. Upon further thought, this pattern can be applied to all offline preprocessing. It could potentially yield significant performance improvements by optimally batching and paralleling workloads.

Let's take a stab at this during the upcoming refactoring of mpz-garble