Package-level declarations
Types
Link copied to clipboard
class ABYCircuitBuilder(val arithCircuit: Circuit, val boolCircuit: Circuit, val yaoCircuit: Circuit, val bitlen: Long, val role: Role)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ABYConversionGate(inputGate: ABYCircuitGate, val circuitType: ABYCircuitType) : ABYCircuitGate
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ABYOperationGate(val operation: PutOperationGate, operands: List<ABYCircuitGate>, val circuitType: ABYCircuitType) : ABYCircuitGate
Link copied to clipboard
class ABYProtocolInterpreter(host: Host, otherHost: Host, role: Role, program: ProgramNode, protocolAnalysis: ProtocolAnalysis, runtime: ViaductRuntime, connectionMap: Map<Host, HostAddress>, port: Int = DEFAULT_PORT) : AbstractProtocolInterpreter<ABYProtocolInterpreter.ABYClassObject>
Link copied to clipboard
Link copied to clipboard
A method that adds the gate for an operation with the given arguments to the circuit and returns the resulting share.
This is simply a generalization of the putOPGate
methods (which can be unary, binary, or ternary) to a list of arguments.
Functions
Link copied to clipboard
Add a conversion gate---if necessary---to match the target circuit type.
Link copied to clipboard
fun operatorToCircuit(operator: Operator, arguments: List<ABYCircuitGate>, circuitType: ABYCircuitType): ABYCircuitGate
Returns an ABY circuit implementing the given operator.
Link copied to clipboard
Implements bitwise not.