nova-snark 0.68.0

High-speed recursive arguments from folding schemes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! This module defines constants used throughout the library.

/// Number of bits used for challenge generation in the protocol.
pub const NUM_CHALLENGE_BITS: usize = 128;

/// Number of bits used for hash output sizing.
pub const NUM_HASH_BITS: usize = 250;

/// Width of each limb in bignat representation.
pub const BN_LIMB_WIDTH: usize = 64;

/// Number of limbs in bignat representation.
pub const BN_N_LIMBS: usize = 4;

/// Row count below which we use sequential iteration instead of rayon.
pub const PARALLEL_THRESHOLD: usize = 4096;