Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class BackendInterpreter(host: Host, program: ProgramNode, protocolAnalysis: ProtocolAnalysis, protocolInterpreters: List<ProtocolInterpreter>, runtime: ViaductProcessRuntime)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class HostAddress(val ipAddress: IpAddress, val port: Port)
Link copied to clipboard
typealias HostId = Int
Link copied to clipboard
data class HostInfo(val host: Host, val id: HostId, val address: HostAddress, val recvChannel: Channel<ViaductMessage>, val sendChannel: Channel<ViaductMessage>)
Link copied to clipboard
Link copied to clipboard
typealias IpAddress = String
Link copied to clipboard
Link copied to clipboard
data class NormalizeCounter(var inIndex: Int = 0, val inMap: MutableMap<Int, Int>, var publicIndex: Int = 0, val publicMap: MutableMap<Int, Int>)
Link copied to clipboard
Link copied to clipboard
typealias ObjectLocation = Int
Link copied to clipboard
typealias Port = Int
Link copied to clipboard
Link copied to clipboard
typealias ProcessId = Int
Link copied to clipboard
data class ProcessInfo(val process: ProtocolProjection, val id: ProcessId)
Link copied to clipboard
interface ProtocolBackend
Link copied to clipboard
Link copied to clipboard
data class ReceiveMessage(val sender: ProcessId, val receiver: ProcessId) : CommunicationMessage
Link copied to clipboard
data class SendMessage(val sender: ProcessId, val receiver: ProcessId, val message: Value) : CommunicationMessage
Link copied to clipboard
Link copied to clipboard

Interpreter for a single protocol. This class is defined for convenience, so that the protocol argument on implemented methods isn't necessary.

Link copied to clipboard
class VectorObject(val size: Int, defaultValue: Value) : CleartextClassObject
Link copied to clipboard
class ViaductBackend(backends: List<ProtocolBackend>, customConnectionInfo: Map<Host, HostAddress> = mapOf())
Link copied to clipboard
sealed class ViaductMessage
Link copied to clipboard
Link copied to clipboard
class ViaductRuntime(val host: Host, program: ProgramNode, protocolAnalysis: ProtocolAnalysis, hostConnectionInfo: Map<Host, HostAddress>, backends: List<ProtocolBackend>, strategy: Strategy)
Link copied to clipboard
data class WireConst(val index: Int, val v: Int) : WireTerm
Link copied to clipboard
data class WireDummyIn(val index: Int, val hash: List<Byte>, val nonce: List<Byte>) : WireTerm
Link copied to clipboard
Link copied to clipboard
data class WireIn(val v: Int, val index: Int, val hash: List<Byte>, val nonce: List<Byte>) : WireTerm
Link copied to clipboard
data class WireOp(val op: Operator, val inputs: List<WireTerm>) : WireTerm
Link copied to clipboard
sealed class WireTerm

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard