acir::circuit

Module opcodes

Source
Expand description

ACIR opcodes

This module defines the core set opcodes used in ACIR.

Re-exports§

Modules§

  • Black box functions are ACIR opcodes which rely on backends implementing support for specialized constraints. This makes certain zk-snark unfriendly computations cheaper than if they were implemented in more basic constraints.

Structs§

Enums§

  • These opcodes represent a specialized computation. Even if any computation can be done using only assert-zero opcodes, it is not always efficient. Some proving systems, can implement several computations more efficiently using techniques such as custom gates and lookup tables.
  • Type for a memory block
  • Enumeration for black box function inputs
  • Defines an operation within an ACIR circuit