ABYConstantGate

class ABYConstantGate(val value: Int, val circuitType: ABYCircuitType) : ABYCircuitGate

Constructors

Link copied to clipboard
fun ABYConstantGate(value: Int, circuitType: ABYCircuitType)

Functions

Link copied to clipboard
open override fun putGate(builder: ABYCircuitBuilder, childShares: List<Share>): Share

Adds the gate represented by this object to the given circuit.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int
Link copied to clipboard
var variableGate: Boolean = false

Extensions

Link copied to clipboard

Add a conversion gate---if necessary---to match the target circuit type.