MCPcopy Create free account
hub / github.com/PolyhedraZK/ExpanderCompilerCollection / SecretVariable

Method SecretVariable

ecgo/builder/root.go:51–54  ·  view source on GitHub ↗

SecretVariable creates a new secret variable for the circuit.

(f schema.LeafInfo)

Source from the content-addressed store, hash-verified

49
50// SecretVariable creates a new secret variable for the circuit.
51func (r *Root) SecretVariable(f schema.LeafInfo) frontend.Variable {
52 r.builder.nbExternalInput++
53 return r.addVar()
54}

Callers 1

CompileFunction · 0.95

Calls 1

addVarMethod · 0.80

Tested by

no test coverage detected