privacy-scaling-explorations / mpz

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

refactor(mpz-garble-core): batched garbling #140

Closed sinui0 closed 3 months ago

sinui0 commented 3 months ago

This PR refactors mpz-garble-core and implements stack-allocated batching. On my machine these changes result in ~50% improved garbling performance.

Changes