diff --git a/common/nymcoconut/src/constants.rs b/common/nymcoconut/src/constants.rs deleted file mode 100644 index 49a268fe51..0000000000 --- a/common/nymcoconut/src/constants.rs +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2021 Nym Technologies SA -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. diff --git a/common/nymcoconut/src/lib.rs b/common/nymcoconut/src/lib.rs index f3305bcc17..a2d362152f 100644 --- a/common/nymcoconut/src/lib.rs +++ b/common/nymcoconut/src/lib.rs @@ -22,26 +22,25 @@ pub use elgamal::PublicKey; pub use error::CoconutError; pub use scheme::aggregation::aggregate_signature_shares; pub use scheme::aggregation::aggregate_verification_keys; -pub use scheme::issuance::blind_sign; -pub use scheme::issuance::prepare_blind_sign; -pub use scheme::issuance::BlindSignRequest; -pub use scheme::keygen::ttp_keygen; -pub use scheme::keygen::KeyPair; -pub use scheme::keygen::VerificationKey; -pub use scheme::setup::setup; -pub use scheme::setup::Parameters; -pub use scheme::verification::prove_bandwidth_credential; -pub use scheme::verification::verify_credential; -pub use scheme::verification::Theta; pub use scheme::BlindedSignature; +pub use scheme::issuance::blind_sign; +pub use scheme::issuance::BlindSignRequest; +pub use scheme::issuance::prepare_blind_sign; +pub use scheme::keygen::KeyPair; +pub use scheme::keygen::ttp_keygen; +pub use scheme::keygen::VerificationKey; +pub use scheme::setup::Parameters; +pub use scheme::setup::setup; pub use scheme::Signature; pub use scheme::SignatureShare; +pub use scheme::verification::prove_bandwidth_credential; +pub use scheme::verification::Theta; +pub use scheme::verification::verify_credential; pub use traits::Base58; pub use utils::hash_to_scalar; use crate::traits::Bytable; -mod constants; pub mod elgamal; mod error; mod impls;