1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#![cfg_attr(not(feature = "std"), no_std)]
#![deny(rustdoc::broken_intra_doc_links)]
extern crate alloc;
pub mod adapter;
pub mod core;
pub mod field;
#[cfg(not(target_os = "zkvm"))]
pub mod hal;
mod merkle;
#[cfg(not(target_os = "zkvm"))]
pub mod prove;
pub mod taps;
pub mod verify;
pub const MIN_CYCLES_PO2: usize = 10;
pub const MIN_CYCLES: usize = 1 << MIN_CYCLES_PO2; pub const MAX_CYCLES_PO2: usize = 24;
pub const MAX_CYCLES: usize = 1 << MAX_CYCLES_PO2; pub const QUERIES: usize = 50;
pub const ZK_CYCLES: usize = QUERIES;
pub const MIN_PO2: usize = core::log2_ceil(1 + ZK_CYCLES);
pub const INV_RATE: usize = 4;
const FRI_FOLD_PO2: usize = 4;
pub const FRI_FOLD: usize = 1 << FRI_FOLD_PO2;
const FRI_MIN_DEGREE: usize = 256;