jubjub_schnorr/
lib.rs

1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4//
5// Copyright (c) DUSK NETWORK. All rights reserved.
6
7#![doc = include_str!("../README.md")]
8#![no_std]
9
10mod error;
11mod keys;
12mod signatures;
13
14#[cfg(feature = "zk")]
15pub mod gadgets;
16
17#[cfg(feature = "serde")]
18mod serde_support;
19
20pub use error::Error;
21pub use keys::public::PublicKey;
22pub use keys::secret::SecretKey;
23pub use signatures::Signature;
24
25pub use keys::public::double::PublicKeyDouble;
26pub use signatures::double::SignatureDouble;
27
28pub use keys::public::var_gen::PublicKeyVarGen;
29pub use keys::secret::var_gen::SecretKeyVarGen;
30pub use signatures::var_gen::SignatureVarGen;
31
32#[allow(non_snake_case)]
33pub mod multisig;