|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.BOAL.Circuit
SFE.PF.UC
SFE.PF.UCvaliant
public class UCvaliant
Valiant's Universal Circuit based on universal graphs.
This universal circuit is not implemented.
See Leslie G. Valiant, "Universal circuits (Preliminary Report)".
Field Summary |
---|
Fields inherited from class SFE.PF.UC |
---|
Ggates, Xgates, Ygates |
Constructor Summary | |
---|---|
UCvaliant()
|
Method Summary | |
---|---|
int |
countGates()
Count number of gates of UC. |
int |
estimateGates(int ins,
int outs,
int gates)
Estimate number of gates of UC. |
Gate[] |
extractCircuit(Gate[] outputs)
Extract circuit representation of UC. |
void |
generate(int u,
int v,
int k)
Generate UC for circuit of given shape. |
void |
program(int[] ins,
int[] outs,
SFE.PF.ParseGate[] gates)
Program UC with given circuit. |
Methods inherited from class SFE.PF.UC |
---|
generateEncCircuit, generateUC, translateIO |
Methods inherited from class SFE.BOAL.Circuit |
---|
addGate, cextractEncPayload, cextractSecPayload, cinjectEncPayload, cinjectSecPayload, cmeasureEncPayload, cmeasureSecPayload, evalCircuit, evalGarbledCircuit, getGate, isCorrect, printCircuit |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UCvaliant()
Method Detail |
---|
public int countGates()
UC
countGates
in class UC
public int estimateGates(int ins, int outs, int gates)
UC
estimateGates
in class UC
ins
- #inputsouts
- #outputsgates
- #gates of circuit
public Gate[] extractCircuit(Gate[] outputs)
UC
extractCircuit
in class UC
public void generate(int u, int v, int k)
UC
generate
in class UC
u
- #inputsv
- #outputsk
- #gatespublic void program(int[] ins, int[] outs, SFE.PF.ParseGate[] gates)
UC
program
in class UC
ins
- inputsouts
- outputsgates
- gates of circuit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |