Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
_
S
S
- Class in
SFE.PF
S(u,v) selection block.
S(int, int, UC)
- Constructor for class SFE.PF.
S
Constructor
S_U
- Class in
SFE.PF
S(u>=v,v) selection block.
S_U(int, int, UC)
- Constructor for class SFE.PF.
S_U
S_U()
- Constructor for class SFE.PF.
S_U
S_u_1
- Class in
SFE.PF
S(u,1) selection block.
S_u_1(int, UC)
- Constructor for class SFE.PF.
S_u_1
S_u_1()
- Constructor for class SFE.PF.
S_u_1
S_u_v
- Class in
SFE.PF
S(u,v) selection block.
S_u_v(int, int, UC)
- Constructor for class SFE.PF.
S_u_v
S_u_v()
- Constructor for class SFE.PF.
S_u_v
S_V
- Class in
SFE.PF
S(u,v>=u) selection block.
S_V(int, int, UC)
- Constructor for class SFE.PF.
S_V
S_V()
- Constructor for class SFE.PF.
S_V
sample
- Class in
SFE.GUI
sample()
- Constructor for class SFE.GUI.
sample
sendBytes(ObjectOutputStream, byte[], boolean)
- Static method in class SFE.BOAL.
MyUtil
sendBytes - send an array of bytes via ObjectOutputStream
SenderOTs(Circuit, Formatter, OT, ObjectOutputStream, ObjectInputStream)
- Static method in class SFE.BOAL.
OT
This routine prepares a vector of OTs for the sender, and executes them.
sendInt(ObjectOutputStream, int, boolean)
- Static method in class SFE.BOAL.
MyUtil
sendInt - send an int via ObjectOutputStream
sendOTMESS(ObjectOutputStream, OTMESS)
- Static method in class SFE.BOAL.
MyUtil
sendOTMESS - send an OTMESS object via ObjectOutputStream
sendVector(ObjectOutputStream, Vector)
- Static method in class SFE.BOAL.
MyUtil
sendVector - send a Vector object via ObjectOutputStream
setArray(Type, int, String)
- Method in class SFE.GUI.
Type
Set type as array
setAssigningStatement(Statement)
- Method in class SFE.Compiler.
LvalExpression
Set the reference to this expressionn assigning statement, Which can be either AssignmentStatement or InputStatement.
setBits(int)
- Method in class SFE.GUI.
Type
Set type as Int<>, and set number of bits
setCodePanel(CodeWndPanel)
- Method in class SFE.GUI.
Program
Update code panel where this program will be shown
setDoc(String)
- Method in class SFE.GUI.
ProgramDocument
Set document data
setEditWnd(JFrame)
- Method in class SFE.GUI.
CodeWndPanel
Set the Editor window handle
setEnabled(boolean)
- Method in class SFE.GUI.
VarPane
Enable/Disable the panel
setEnum(String)
- Method in class SFE.GUI.
Type
Set type as Enumerated type
setFunctionCode(Function)
- Method in class SFE.GUI.
CodeWndPanel
View a selected function in the window
setGarbledValue(byte[])
- Method in class SFE.BOAL.
Gate
Set the garbled value of this gate and interpret it (in practice - only for Bob output gates).
setIdent(int)
- Method in class SFE.GUI.
Statement
Set indentation level
setImmutable(boolean)
- Method in class SFE.GUI.
Type
Mark type as immutable (read only)
setInput(int, Gate)
- Method in class SFE.BOAL.
Gate
Record the specified input gate number at the designated input index.
setInputFlag(boolean)
- Method in class SFE.BOAL.
IO
setInputFlag: set the input/output indicator flag
setLinenum(int, int)
- Method in class SFE.BOAL.
IO
setMust(boolean)
- Method in class SFE.GUI.
Type
Mark type as must (undeletable)
setOutput(int, boolean)
- Method in class SFE.BOAL.
Gate
Record the specified output value at the designated input index.
setOutput(boolean)
- Method in class SFE.BOAL.
Gate
setOutputLine(int)
- Method in class SFE.Compiler.
AssignmentStatement
Sets the output line of this assignment statement.
setOutputLine(int)
- Method in class SFE.Compiler.
InputStatement
Sets the output line of this assignment statement.
setPackedCode(byte[])
- Method in class SFE.BOAL.
Gate
Force the specified value as output value of this gate.
setPrefix(String)
- Method in class SFE.BOAL.
IO
setPrefix: set the prefix string
setProgramCode()
- Method in class SFE.GUI.
CodeWndPanel
View the whole program in the window
setStruct(DefaultListModel)
- Method in class SFE.GUI.
Type
Set type as a structure
setType(Type)
- Method in class SFE.GUI.
Type
Reset type, and set original type
setValue(int)
- Method in class SFE.BOAL.
Gate
Force the specified value as output value of this gate.
setVar(Variable)
- Method in class SFE.GUI.
VarPane
Set the variable to edit
SFE.BOAL
- package SFE.BOAL
SFE.Compiler
- package SFE.Compiler
SFE.GUI
- package SFE.GUI
SFE.TimedCommitments
- package SFE.TimedCommitments
SFECompiler
- Class in
SFE.Compiler
The SFECompiler class takes an input stream and checks if it is compatible with the predefined language.
SFECompiler(FileReader)
- Constructor for class SFE.Compiler.
SFECompiler
Creates a tokenizer that parses the given stream.
show(String)
- Method in class SFE.GUI.
EditWndPanel
Show the selected edit panel
simplify()
- Method in class SFE.Compiler.
BinaryOpExpression
Transformas this gate to a simple id or not gate.
simplify()
- Method in class SFE.Compiler.
OperationExpression
Transformas this gate to a simple id or not gate.
simplify()
- Method in class SFE.Compiler.
TrinaryOpExpression
if isComplexIDOrNeg() is true, replaces the compex gate with the appropriate simple primitive gate.
simplify()
- Method in class SFE.Compiler.
UnaryOpExpression
never called
size()
- Method in class SFE.Compiler.
ArrayEntryLvalue
Returns the size of this ArrayEntryLvalue object in bits.
size()
- Method in class SFE.Compiler.
ArrayType
Returns the length of the this ArrayType in bits.
size()
- Method in class SFE.Compiler.
BitLvalue
Returns 1 as size of this BitLvalue object in bits.
size()
- Method in class SFE.Compiler.
BooleanConstant
Returns 1, as the number of bits needed to represent this BooleanConstant expression.
size()
- Method in class SFE.Compiler.
BooleanType
Returns the length of the this Boolean type in bits, which is 1.
size()
- Method in class SFE.Compiler.
BusType
Returns the size of the bus in bits
size(String)
- Static method in class SFE.Compiler.
Consts
Returns the size of the specified constant in bits.
size()
- Method in class SFE.Compiler.
Expression
Returns the number of bits needed to represent this expression.
size()
- Method in class SFE.Compiler.
Function
Returns the size of the value returned by the function in bits.
size()
- Method in class SFE.Compiler.
IntConstant
Returns the number of bits needed to represent this expression.
size()
- Method in class SFE.Compiler.
IntType
Returns the length of this Int type in bits.
size()
- Method in class SFE.Compiler.
LvalExpression
Returns the number of bits needed to represent this expression.
size()
- Method in class SFE.Compiler.
Lvalue
Returns the size of this Lvalue object in bits.
size()
- Method in class SFE.Compiler.
OperationExpression
Returns the number of bits needed to represent this expression.
size()
- Method in class SFE.Compiler.
StructFieldLvalue
Returns the size of this Lvalue object in bits.
size()
- Method in class SFE.Compiler.
StructType
Returns the length of the this Struct type in bits.
size()
- Method in class SFE.Compiler.
Type
Returns the size of this type object in bits.
size()
- Method in class SFE.Compiler.
Variable
Returns an int representing the size of this variable object in bits.
size()
- Method in class SFE.Compiler.
VarLvalue
Returns the size of this Lvalue object in bits.
sortInputs()
- Method in class SFE.Compiler.
BinaryOpExpression
Sorts the input gates according to their names and returns the result OperationExpression.
sortInputs()
- Method in class SFE.Compiler.
OperationExpression
Sorts the input gates according to their names and returns the result OperationExpression.
sortInputs()
- Method in class SFE.Compiler.
TrinaryOpExpression
Sorts the input gates according to their names and returns the result OperationExpression.
sortInputs()
- Method in class SFE.Compiler.
UnaryOpExpression
Sorts the input gates according to their names and returns the result OperationExpression.
Statement
- Class in
SFE.Compiler
Abstract class for representing statements that can be defined in the program.
Statement()
- Constructor for class SFE.Compiler.
Statement
Statement
- Class in
SFE.GUI
A statement in a function code.
Statement(String)
- Constructor for class SFE.GUI.
Statement
Statement(int, String)
- Constructor for class SFE.GUI.
Statement
Build a new statement
Statement(int, int, String)
- Constructor for class SFE.GUI.
Statement
Build a new statement
Statement(int, int, String, boolean)
- Constructor for class SFE.GUI.
Statement
Build a new statemenet
STRING_CONST
- Static variable in class SFE.Compiler.
Tokenizer
A constant indicating that a constant string token has been read.
stringVal()
- Method in class SFE.Compiler.
Tokenizer
Return the string in current token.
struct
- Variable in class SFE.GUI.
Type
StructFieldLvalue
- Class in
SFE.Compiler
The VarLvalue class extends the Lvalue class, and can be when a variable is used as Lvalue.
StructFieldLvalue(Lvalue, String)
- Constructor for class SFE.Compiler.
StructFieldLvalue
Constructs a new StructFieldLvalue from a given lvalue and fild name.
StructType
- Class in
SFE.Compiler
Class StructType is used for representing a Struct that was defined in the program.
StructType()
- Constructor for class SFE.Compiler.
StructType
Constructs a new empty StructType object.
structVars
- Variable in class SFE.GUI.
Type
switchLeftMid()
- Method in class SFE.Compiler.
PrimitiveOperator
Creates a new PrimitiveOperator from this PrimitiveOpertor's truth table where the left and middle inputs are switched.
switchRightLeft()
- Method in class SFE.Compiler.
PrimitiveOperator
Creates a new PrimitiveOperator from this PrimitiveOpertor's truth table where the left anright inputs are switched.
switchRightMid()
- Method in class SFE.Compiler.
PrimitiveOperator
Creates a new PrimitiveOperator from this PrimitiveOpertor's truth table where the right and middle inputs are switched.
SYMBOL
- Static variable in class SFE.Compiler.
Tokenizer
A constant indicating that a symbol token has been read.
symbol()
- Method in class SFE.Compiler.
Tokenizer
Return the char represnting the current symbol.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
_