ciphercore-base 0.3.1

The base package of CipherCore: computation graphs API, Secure MPC Compiler, utilities for graph evaluation and inspection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(feature = "fuzzing")]
pub mod type_size_limit_constants {
    pub const MAX_TOTAL_SIZE_NODES: u64 = 10000;
    pub const MAX_INDIVIDUAL_NODE_SIZE: u64 = 1000;
    pub const TYPES_VECTOR_LENGTH_LIMIT: usize = 1000;
    pub const TYPE_MEMORY_OVERHEAD: u64 = 1;
}
#[cfg(not(feature = "fuzzing"))]
pub mod type_size_limit_constants {
    pub const MAX_TOTAL_SIZE_NODES: u64 = u64::MAX - 1;
    pub const MAX_INDIVIDUAL_NODE_SIZE: u64 = u64::MAX - 1;
    pub const TYPES_VECTOR_LENGTH_LIMIT: usize = usize::MAX - 1;
    pub const TYPE_MEMORY_OVERHEAD: u64 = 1;
}