Module fancy_garbling::circuit
source · [−]Expand description
DSL for creating circuits compatible with fancy-garbling in the old-fashioned way, where you create a circuit for a computation then garble it.
Structs
Static representation of arithmetic computation supported by fancy garbling.
Static representation of binary computation supported by fancy garbling.
CircuitBuilder is used to build circuits.
The index and modulus of a gate in a circuit.
Enums
Arithmetic computation supported by fancy garbling.
Binary computation supported by fancy garbling.
Traits
Trait to display circuit evaluation costs
Trait representing circuits that can be built by
CircuitBuilder
A Circuit that can be evaluated by a given Fancy object
Trait representing circuit gates that can be used in
CircuitType
Functions
Evaluate the circuit in plaintext.