Crate ark_mpc

Source
Expand description

Defines an MPC implementation over the a generic Arkworks curve that allows for out-of-order execution of the underlying MPC circuit

Modules§

algebra
Defines algebraic MPC types and operations on them
beaver
Defines the Beaver value generation interface as well as a dummy beaver interface for testing
commitment
Defines Pedersen commitments over the system curve used to commit to a value before opening it
error
Errors defined across the MPC implementation
gadgets
MPC circuits implemented directly in the library as gadgets for more complex MPC operations
network
The network module defines abstractions of the transport used to communicate during the course of an MPC

Structs§

FabricInner
The inner component of the fabric, allows the constructor to allocate executor and network sender objects at the same level as the fabric
MpcFabric
A fabric for the MPC protocol, defines a dependency injection layer that dynamically schedules circuit gate evaluations onto the network to be executed
ResultHandle
A handle to the result of the execution of an MPC computation graph

Enums§

ResultValue
The value of a result

Constants§

PARTY0
The first party
PARTY1
The second party

Functions§

random_point
Generate a random curve point by multiplying a random scalar with the curve group generator

Type Aliases§

ResultId
An identifier for a result