curv/cryptographic_primitives/proofs/
mod.rs1use std::error::Error;
9use std::fmt;
10
11pub mod low_degree_exponent_interpolation;
12pub mod sigma_correct_homomorphic_elgamal_enc;
13pub mod sigma_correct_homomorphic_elgamal_encryption_of_dlog;
14pub mod sigma_dlog;
15pub mod sigma_ec_ddh;
16pub mod sigma_valid_pedersen;
17pub mod sigma_valid_pedersen_blind;
18
19#[derive(Debug, Clone, Copy)]
20pub struct ProofError;
21
22impl fmt::Display for ProofError {
23 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
24 write!(f, "ProofError")
25 }
26}
27
28impl Error for ProofError {
29 fn description(&self) -> &str {
30 "Error while verifying"
31 }
32}