|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Circuit | |
---|---|
SFE.BOAL | |
SFE.PF | Extension for PF-SFE (Private Function SFE) based on UC (Universal Circuit) |
Uses of Circuit in SFE.BOAL |
---|
Methods in SFE.BOAL that return Circuit | |
---|---|
Circuit |
Parser.getCircuit()
getCircuit returns the circuit that the parser builds. |
Methods in SFE.BOAL with parameters of type Circuit | |
---|---|
static void |
OT.ChooserOTs(Circuit c,
Formatter f,
OT ot,
java.io.ObjectOutputStream oos,
java.io.ObjectInputStream ois)
This routine prepares a vector of OTs for the chooser, executes them, and places their results in the circuit |
byte[] |
Formatter.fextractInpPayload(Circuit c,
int total_size,
boolean alice_inputs)
Extract input payload from an encrypted circuit (for the purpose of communicating it in minimal overhead). |
byte[] |
Formatter.fextractOutPayload(Circuit c,
int total_size,
boolean alice_inputs)
Extract output payload from an encrypted circuit (for the purpose of communicating it in minimal overhead). |
void |
Formatter.finjectInpPayload(Circuit c,
byte[] info,
boolean alice_inputs)
Inject input payload into a circuit. |
void |
Formatter.finjectOutPayload(Circuit c,
byte[] info,
boolean alice_outputs)
Inject output payload into a circuit. |
void |
Formatter.getAliceInput(Circuit c,
java.io.BufferedReader br)
|
void |
Formatter.getAliceOutput(Circuit c)
|
void |
Formatter.getBobInput(Circuit c,
java.io.BufferedReader br)
|
void |
Formatter.getBobOutput(Circuit c)
|
void |
Formatter.getInput(Circuit c,
boolean is_alice,
java.io.BufferedReader br)
This routine prompts for Alice or Bob inputs, and sets the corresponding wires binary values. |
void |
Formatter.getOutput(Circuit c,
boolean is_alice)
This routine collects all output results from the circuit for either Alice or Bob, and prints them out (the circuit must be already evaluated). |
void |
Formatter.markIO(Circuit c,
int[] tsize)
This routine marks all the input/output gates of a circuit as belonging to either Alice or Bob. |
static void |
OT.SenderOTs(Circuit c,
Formatter f,
OT ot,
java.io.ObjectOutputStream oos,
java.io.ObjectInputStream ois)
This routine prepares a vector of OTs for the sender, and executes them. |
Uses of Circuit in SFE.PF |
---|
Subclasses of Circuit in SFE.PF | |
---|---|
class |
UC
A Universal Circuit (UC) is a circuit that can be programmed to simulate any circuit. |
class |
UCsel
Universal Circuit based on selection blocks. |
class |
UCvaliant
Valiant's Universal Circuit based on universal graphs. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |