Crate miden_processor

source ·

Modules

Structs

  • Inputs container to initialize advice provider for the execution of Miden VM programs.
  • Contains assembly instruction and operation index in the sequence corresponding to the specified AsmOp decorator. This index starts from 1 instead of 0.
  • 192-bit output blake3 hasher.
  • 256-bit output blake3 hasher.
  • Execution trace which is generated when a program is executed on the VM.
  • A list of procedure hashes defining a VM kernel.
  • An in-memory [AdviceProvider] implementation to support program execution.
  • A program which can be executed by the VM.
  • A program information set consisting of its MAST root and set of kernel procedure roots used for its compilation.
  • Represents an element in a quadratic extension of a StarkField.
  • Implementation of the Rescue Prime Optimized hash function with 256-bit output.
  • Initial state of the stack to support program execution.
  • Output container for Miden VM programs.
  • VmState holds a current process state information at a specific clock cycle.
  • Iterator that iterates through vm state at each step of the execution. This allows debugging or replaying ability to view various process state at each clock cycle. If the execution returned an error, it returns that error on the clock cycle it stopped.

Enums

Constants

  • Memory addresses for procedure locals start at 2^30.
  • Memory address for procedure locals within a SYSCALL starts at 2^31.

Traits

  • Common behavior of advice providers for program execution.
  • Defines a cryptographic hash function for hashing field elements.
  • Defines a cryptographic hash function.

Functions

  • Returns an execution trace resulting from executing the provided program against the provided inputs.
  • Returns an iterator which allows callers to step through the execution and inspect VM state at each execution step.

Type Definitions

  • A group of four field elements in the Miden base field.