sn_curv 0.10.1

Curv contains an extremely simple interface to onboard new elliptic curves. Use this library for general purpose elliptic curve cryptography
Documentation
/*
    This file is part of Curv library
    Copyright 2018 by Kzen Networks
    (https://github.com/KZen-networks/curv)
    License MIT: https://github.com/KZen-networks/curv/blob/master/LICENSE
*/

use std::error::Error;
use std::fmt;

pub mod low_degree_exponent_interpolation;
pub mod sigma_correct_homomorphic_elgamal_enc;
pub mod sigma_correct_homomorphic_elgamal_encryption_of_dlog;
pub mod sigma_dlog;
pub mod sigma_ec_ddh;
pub mod sigma_valid_pedersen;
pub mod sigma_valid_pedersen_blind;

#[derive(Debug, Clone, Copy)]
pub struct ProofError;

impl fmt::Display for ProofError {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "ProofError")
    }
}

impl Error for ProofError {
    fn description(&self) -> &str {
        "Error while verifying"
    }
}