Skip to content

Commit

Permalink
update refs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas committed Feb 9, 2025
1 parent 0191f8a commit 40389c1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions book/static/crates_zkvm_lib_src_lib.rs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@

pub mod bls12381;
pub mod bn254;

#[cfg(feature = "ecdsa")]
pub mod ecdsa;

pub mod ed25519;
pub mod io;
pub mod secp256k1;
pub mod secp256r1;
pub mod unconstrained;
pub mod utils;

#[cfg(feature = "verify")]
pub mod verify;

Expand Down Expand Up @@ -146,5 +151,14 @@ extern "C" {
/// Executes a BN254 Fp2 multiplication on the given inputs.
pub fn syscall_bn254_fp2_mulmod(p: *mut u32, q: *const u32);

/// Reads a buffer from the input stream.
pub fn read_vec_raw() -> ReadVecResult;
}

#[repr(C)]
pub struct ReadVecResult {
pub ptr: *mut u8,
pub len: usize,
pub capacity: usize,
}
```
2 changes: 1 addition & 1 deletion book/static/examples_fibonacci_script_src_main.rs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn main() {

// Generate the proof for the given program and input.
let (pk, vk) = client.setup(ELF);
let mut proof = client.prove(&pk, &stdin).run().unwrap();
let mut proof = client.prove(&pk, &stdin).compressed().run().unwrap();

println!("generated proof");

Expand Down

0 comments on commit 40389c1

Please sign in to comment.