Expand description
sp1-primitives contains types and functions that are used in both sp1-core and sp1-zkvm. Because it is imported in the zkvm entrypoint, it should be kept minimal.
Re-exports§
pub use types::Elf;
Modules§
Structs§
Constants§
- SP1_
CRATE_ VERSION - The canonical version of the SP1 crate.
Functions§
- hash_
deferred_ proof - Append a single deferred proof to a hash chain of deferred proofs.
- poseidon2_
hash - poseidon2_
hasher - poseidon2_
init
Type Aliases§
- SP1Diffusion
Matrix - SP1Extension
Field - SP1Field
- SP1Global
Context - The
IopCtxused for the RISC-V stage and inner recursion (compress and shrink). - SP1Outer
Global Context - The
IopCtxused for outer recursion (wrap and SNARK stages). - SP1Perm