A B C D E F G H I K L M N O P R S T U V W X Y Z _

G

Gate - Class in SFE.BOAL
This class holds information on a single gate
Gate(int, int, int, boolean) - Constructor for class SFE.BOAL.Gate
Constructor for class Gate
gate_index - Variable in class SFE.BOAL.Gate
 
genCode() - Method in class SFE.GUI.EditorApplet
Generate the current program code from the editor.
generate(int, int, UC) - Method in class SFE.PF.S
Generate selection block.
generate(int, int, UC) - Method in class SFE.PF.S_U
 
generate(int, int, UC) - Method in class SFE.PF.S_u_1
 
generate(int, int, UC) - Method in class SFE.PF.S_u_v
 
generate(int, int, UC) - Method in class SFE.PF.S_V
 
generate(int, int, int) - Method in class SFE.PF.UC
Generate UC for circuit of given shape.
generate(int, int, int) - Method in class SFE.PF.UCsel
 
generate(int, int, int) - Method in class SFE.PF.UCvaliant
 
generateCode() - Method in class SFE.GUI.Function
Generate and return the function code
generateCode() - Method in class SFE.GUI.Program
Generate and get the whole program code
generateEncCircuit() - Method in class SFE.BOAL.Circuit
Turn all gates in a circuit to encrypted gates
generateEncCircuit() - Method in class SFE.PF.UC
 
generateEncGate() - Method in class SFE.BOAL.Gate
Fill in all encrypted values and perms of a gate
generateEncOutput(int, byte[]) - Method in class SFE.BOAL.Gate
Return an encrypted value corresponding to this gate for a given index into this gate's truth table.
generateEncPerm(int, byte) - Method in class SFE.BOAL.Gate
Return an encrypted permutation corresponding to this gate for a given index into this gate's truth table.
generateS(int, int, UC) - Static method in class SFE.PF.S
Generate smallest selection block for given parameters.
generateUC(int, int, int, String) - Static method in class SFE.PF.UC
generate UC for given circuit parameters
genKey(int, int) - Method in class SFE.BOAL.Gate
Return an enc/dec mask corresponding to this gate for a given index into this gate's truth table If index is negative then the enc/dec mask is calculated based on this gate's evaluated garbled inputs.
genPermIndex(int) - Method in class SFE.BOAL.Gate
Return a premutated index corresponding to this gate for a given index into this gate's truth table.
getAliceInput(Circuit, BufferedReader) - Method in class SFE.BOAL.Formatter
 
getAliceOutput(Circuit) - Method in class SFE.BOAL.Formatter
 
getArguments() - Method in class SFE.Compiler.Function
returns the arguments of this function.
getAssigningStatement() - Method in class SFE.Compiler.LvalExpression
Returns the assigning statement of this lvalexpression.
getBaseType() - Method in class SFE.Compiler.ArrayType
Returns the base type of this ArrayType.
getBobInput(Circuit, BufferedReader) - Method in class SFE.BOAL.Formatter
 
getBobOutput(Circuit) - Method in class SFE.BOAL.Formatter
 
getBody() - Method in class SFE.Compiler.Function
returns the body of this function
getCircuit() - Method in class SFE.BOAL.Parser
getCircuit returns the circuit that the parser builds.
getCode(int) - Method in class SFE.BOAL.Gate
Provide a garbeling code for the designated binary value.
getConst() - Method in class SFE.Compiler.BooleanConstant
Returns the boolean stored in this BooleanConstant
getConstantOutput() - Method in class SFE.Compiler.OperationExpression
Returns an unary op expression with a constant (constant expression).
getDerivedLvalues(Lvalue) - Method in class SFE.Compiler.ArrayType
Returns a vector of all the derived lvalue (inluding this lvalue).
getDerivedLvalues() - Method in class SFE.Compiler.Lvalue
Returns a vector of all the derived lvalue of this type.
getDerivedLvalues(Lvalue) - Method in class SFE.Compiler.ParentType
Returns a vector of all the derived lvalue of this type.
getDerivedLvalues(Lvalue) - Method in class SFE.Compiler.StructType
Returns a vector of all the derived lvalue (inluding this lvalue).
getDerivedLvalues(Lvalue) - Method in class SFE.Compiler.Type
Returns a vector of all the derived lvalue of this type.
getDescription() - Method in class SFE.GUI.Function
Get the function description
getDoc() - Method in class SFE.GUI.ProgramDocument
Get document data
getFields() - Method in class SFE.Compiler.StructType
Returns a Set with all this struct's field names.
getGarbledValue() - Method in class SFE.BOAL.Gate
Return garbled value of this gate (after it was evaluated)
getGate(int) - Method in class SFE.BOAL.Circuit
Get a gate from a circuit
getIdentifier() - Method in class SFE.Compiler.Tokenizer
Return the identifier in current token.
getInput(Circuit, boolean, BufferedReader) - Method in class SFE.BOAL.Formatter
This routine prompts for Alice or Bob inputs, and sets the corresponding wires binary values.
getKeyword() - Method in class SFE.Compiler.Tokenizer
Return the current keyword token.
getLeft() - Method in class SFE.Compiler.BinaryOpExpression
Returns the left input pin.
getLength() - Method in class SFE.Compiler.ArrayType
Returns the length of this array.
getLevel() - Method in class SFE.GUI.Statement
Get indentation level
getLHS() - Method in class SFE.Compiler.AssignmentStatement
Returns this AssignmentStatement's lhs.
getLinenum(int) - Method in class SFE.BOAL.IO
getLinenum: get the line number of gate wire at the specified index.
getLineNumber() - Static method in class SFE.Compiler.Program
Returns a current line number in the program.
getLvalExpressionInputs() - Method in class SFE.Compiler.BinaryOpExpression
Returns an array of the input LvalExpressions of this gate.
getLvalExpressionInputs() - Method in class SFE.Compiler.OperationExpression
Returns an array of the input LvalExpressions of this gate.
getLvalExpressionInputs() - Method in class SFE.Compiler.TrinaryOpExpression
Returns an array of the input LvalExpressions of this gate.
getLvalExpressionInputs() - Method in class SFE.Compiler.UnaryOpExpression
Returns an array of the input LvalExpressions of this gate.
getLvalue() - Method in class SFE.Compiler.LvalExpression
Returns this Lavlue.
getMiddle() - Method in class SFE.Compiler.UnaryOpExpression
return the input of the expression
getMiddleOfUnaryInput() - Method in class SFE.Compiler.LvalExpression
Returns the input of the unary gate that this expression is its result.
getName() - Method in class SFE.Compiler.ArrayEntryLvalue
Returns the name of the this ArrayEntryLvalue.
getName() - Method in class SFE.Compiler.BitLvalue
Returns a string representation of this BitLvalue's name.
getName() - Method in class SFE.Compiler.Function
Return the name of the function.
getName() - Method in class SFE.Compiler.InputStatement
Returns a string representation of this InputStatement's name.
getName() - Method in class SFE.Compiler.LvalExpression
Returns the name of this LvalExpression's lvalue.
getName() - Method in class SFE.Compiler.Lvalue
Returns the name of the lvalue of this object.
getName() - Method in class SFE.Compiler.StructFieldLvalue
Returns the name of the lvalue of this object.
getName() - Method in class SFE.Compiler.Variable
Returns a string representing the name of this variable.
getName() - Method in class SFE.Compiler.VarLvalue
Returns the name of the lvalue of this object.
getName() - Method in class SFE.GUI.Type
Get Type name
getNameAt(String, int) - Method in class SFE.Compiler.ArrayType
Returns the name of the bit at offset i in the array.
getNameAt(String, int) - Method in class SFE.Compiler.ParentType
Returns a string representing the real name of the given object.
getNameAt(String, int) - Method in class SFE.Compiler.StructType
Returns the name of the bit at offset i in the struct.
getNextLevel() - Method in class SFE.GUI.Statement
Get next-line indentation level
getNLines() - Method in class SFE.BOAL.IO
getNLines: get the number of lines specified for this IO.
getOperator() - Method in class SFE.Compiler.OperationExpression
Returns this operator.
getOutput(Circuit, boolean) - Method in class SFE.BOAL.Formatter
This routine collects all output results from the circuit for either Alice or Bob, and prints them out (the circuit must be already evaluated).
getOutputLine() - Method in class SFE.Compiler.AssignmentStatement
Returns an int that represents the line number of this assignmnet statement in the output circuit.
getOutputLine() - Method in class SFE.Compiler.InputStatement
Returns the output line in the output circuit of this assignmnet statement.
getPackedCode(int) - Method in class SFE.BOAL.Gate
Provide a garbeling code for the designated binary value of code0/code1 concatenated with garbled perm (for the purpose of transferring both in a single OT)
getParameters() - Method in class SFE.Compiler.UniqueVariables
 
getPrefix() - Method in class SFE.BOAL.IO
getPrefix: get the prefix string
getReference(OperationExpression) - Static method in class SFE.Compiler.Optimizer
Returns an UnaryOpExpression containing the ID_OP or NOT_OP to the specified gate.
getRHS() - Method in class SFE.Compiler.AssignmentStatement
Returns this AssignmentStatement's rhs.
getRight() - Method in class SFE.Compiler.BinaryOpExpression
Returns the right input pin.
getType() - Method in class SFE.Compiler.ArrayEntryLvalue
Returns the Type of this LArrayEntryLvalue object.
getType() - Method in class SFE.Compiler.BitLvalue
Returns the base Type of this BitLvalue.
getType() - Method in class SFE.Compiler.LvalExpression
Returns the Type of this LvalExpression's lvalue.
getType() - Method in class SFE.Compiler.Lvalue
Returns the Type of this Lvalue object.
getType() - Method in class SFE.Compiler.StructFieldLvalue
Returns the Type of this Lvalue object.
getType() - Method in class SFE.Compiler.Variable
Returns the Type of this varable.
getType() - Method in class SFE.Compiler.VarLvalue
Returns the Type of this Lvalue object.
getValue() - Method in class SFE.BOAL.Gate
Return the value of this gate (after it was evaluated)
getVar(String) - Static method in class SFE.Compiler.Function
Returns the LvalExpression from a given parameter or a local variable name.
getVar(LvalExpression) - Static method in class SFE.Compiler.Function
this method is used to get the last referance existing (unique var)
getVar(String) - Method in class SFE.Compiler.UniqueVariables
Returns the LvalExpression reference of a var.
getVarBitAt(LvalExpression, int) - Static method in class SFE.Compiler.Function
Returns the bit LvalExpression from a given Lvalexpression and the bit number.
getVars() - Static method in class SFE.Compiler.Function
Returns all variables and their references in all scopes.
gextractEncPayload() - Method in class SFE.BOAL.Gate
Extract encrypted payload from an encrypted gate.
gextractInpPayload() - Method in class SFE.BOAL.Gate
Extract input payload from an encrypted gate.
gextractOutPayload() - Method in class SFE.BOAL.Gate
Extract output payload from an encrypted gate.
gextractSecPayload() - Method in class SFE.BOAL.Gate
Extract secret payload from an encrypted gate.
Ggates - Static variable in class SFE.PF.UC
number of gates to implement a gate simulation block
ginjectEncPayload(byte[], int) - Method in class SFE.BOAL.Gate
Inject encrypted payload into a gate.
ginjectInpPayload(byte[], int) - Method in class SFE.BOAL.Gate
Inject input payload into a gate.
ginjectOutPayload(byte[], int) - Method in class SFE.BOAL.Gate
Inject output payload into a gate.
ginjectSecPayload(byte[], int) - Method in class SFE.BOAL.Gate
Inject secret payload into a gate.
globalLock - Variable in class SFE.GUI.Program
 
gLock - Static variable in class SFE.GUI.GUIMain
 
gmeasureEncPayload() - Method in class SFE.BOAL.Gate
Measure size of encrypted payload in an encrypted gate
gmeasureInpPayload() - Method in class SFE.BOAL.Gate
Measure size of input payload in an encrypted gate
gmeasureOutPayload() - Method in class SFE.BOAL.Gate
Measure size of output payload in an encrypted gate
gmeasureSecPayload() - Method in class SFE.BOAL.Gate
Measure size of secret payload in an encrypted gate
GreaterEqualOperator - Class in SFE.Compiler
A class for representing '>=' operator expressions that can be defined in the program.
GreaterEqualOperator() - Constructor for class SFE.Compiler.GreaterEqualOperator
 
GreaterOperator - Class in SFE.Compiler
A class for representing '>' operator expressions that can be defined in the program.
GreaterOperator() - Constructor for class SFE.Compiler.GreaterOperator
 
GUI_Usage() - Static method in class SFE.GUI.GUIMain
 
GUIMain - Class in SFE.GUI
 
GUIMain() - Constructor for class SFE.GUI.GUIMain
 
guiMain(String) - Static method in class SFE.GUI.GUIMain
 

A B C D E F G H I K L M N O P R S T U V W X Y Z _