R1CS

class R1CS(isProver: Boolean, wire: WireTerm, is_eq_to: Long)

Functions

genKeypair
Link copied to clipboard
fun genKeypair(): Keypair
makeProof
Link copied to clipboard
fun makeProof(pk: ByteBuf): ByteBuf
populatePrimaryInputs
Link copied to clipboard
fun WireTerm.populatePrimaryInputs()
setupAuxInputs
Link copied to clipboard
fun WireTerm.setupAuxInputs()
value
Link copied to clipboard
fun WireTerm.value(): Var
verifyProof
Link copied to clipboard
fun verifyProof(vk: ByteBuf, pf: ByteBuf): Boolean

Properties

auxInputHashes
Link copied to clipboard
val auxInputHashes: MutableMap<Int, VarArray>
auxInputNonces
Link copied to clipboard
val auxInputNonces: MutableMap<Int, VarArray>
auxInputs
Link copied to clipboard
val auxInputs: MutableMap<Int, Var>
is_eq_to
Link copied to clipboard
val is_eq_to: Long
isProver
Link copied to clipboard
val isProver: Boolean
output
Link copied to clipboard
var output: Var? = null
primaryInputs
Link copied to clipboard
val primaryInputs: MutableMap<Int, Var>
r1cs
Link copied to clipboard
val r1cs: R1CSInstance
wire
Link copied to clipboard
val wire: WireTerm