mpz
mpz copied to clipboard
refactor(mpz-ot): Normalize OT and ideal functionalities
This PR normalizes our OT interfaces as well as completely reimplements our ideal functionality abstraction.
Nothing here touches the security critical logic of any of the OT implementations. This is purely a clean up and testing utilities.
Changes
- Ideal functionalities logic is now consolidated into
mpz-ot-core
instead of leaking intompz-ot
. - Added an abstraction which makes it easier to implement ideal 2-party functionalities in
mpz-common
- Every oblivious transfer call now has a
TransferId
- Outputs for each OT functionality is now strongly typed.