Crate risc0_binfmt

source ·
Expand description

Manages formatted binaries used by the RISC Zero zkVM

Structs§

  • Error returned when a (system, user) exit code pair is an invalid representation.
  • MemoryImageNon-target_os="zkvm"
    An image of a zkVM guest’s memory
  • PageTableInfoNon-target_os="zkvm"
    Structure representing the page table for zkVM memory.
  • A RISC Zero program
  • Represents the public state of a segment, needed for continuations and receipt verification.

Enums§

  • Error returned when a decoding failure occurs.
  • Exit condition indicated by the zkVM at the end of the guest execution.

Traits§

  • Defines a collision resistant hash for the typed and structured data.

Functions§

  • compute_image_idNon-target_os="zkvm"
    Compute and return the ImageID of the specified ELF binary.
  • Read a SHA-256 digest as a series of half-wrods (i.e. 16-bit values).
  • A list hashing routine, permitting iterative opening over elements.
  • A list hashing routine, permitting iterative opening over elements.
  • Calculate the hash resulting from adding one element to a tagged_list digest.
  • A struct hashing routine, permitting tree-like opening of fields.
  • Write a SHA-256 digest as a series of half-wrods (i.e. 16-bit values).