curv/
lib.rs

1/*
2    This file is part of Curv library
3    Copyright 2018 by Kzen Networks
4    (https://github.com/KZen-networks/curv)
5    License MIT: <https://github.com/KZen-networks/curv/blob/master/LICENSE>
6*/
7pub mod elliptic;
8
9pub mod arithmetic;
10pub use crate::arithmetic::BigInt;
11
12pub mod cryptographic_primitives;
13
14mod marker;
15pub use marker::HashChoice;
16
17mod test_utils;
18
19#[derive(Copy, PartialEq, Eq, Clone, Debug)]
20pub enum ErrorKey {
21    InvalidPublicKey,
22}
23
24pub enum ErrorSS {
25    VerifyShareError,
26}