arcium-core-utils 0.4.2

Arcium core utils
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use primitives::algebra::BoxedUint;

use crate::errors::AbortError;

#[derive(Debug, Clone, thiserror::Error)]
pub enum PreprocessingBundlerError {
    #[error("Insufficient {0} triples.")]
    InsufficientTriples(String),
    #[error("Insufficient {0} singlets.")]
    InsufficientSinglets(String),
    #[error("Insufficient {0} daBits.")]
    InsufficientDaBits(String),
    #[error("Insufficient pow preprocessing for exponent {0:?}.")]
    InsufficientPowPreprocessing(BoxedUint),
    #[error("Preprocessing source error: {0}")]
    PreprocessingSourceError(#[from] AbortError),
}