#[macro_use]
mod macros;
pub mod committee;
mod cryptography;
mod encrypted_vote;
mod math;
pub mod tally;
#[doc(hidden)]
pub mod debug {
pub mod cryptography {
pub use crate::cryptography::*;
}
}
#[cfg(crypto_backend = "__internal_ex_backend_p256k1")]
pub(crate) use chain_crypto::ec::p256k1::*;
#[cfg(crypto_backend = "__internal_ex_backend_ristretto255")]
pub(crate) use chain_crypto::ec::ristretto255::*;
#[cfg(crypto_backend = "__internal_ex_backend_p256k1")]
const CURVE_HRP: &str = "p256k1";
#[cfg(crypto_backend = "__internal_ex_backend_ristretto255")]
const CURVE_HRP: &str = "ristretto255";
pub use math::babystep::BabyStepsTable as TallyOptimizationTable;
pub use crate::{
committee::{ElectionPublicKey, MemberCommunicationKey, MemberPublicKey, MemberState},
cryptography::Ciphertext, encrypted_vote::{
Ballot, BallotVerificationError, EncryptedVote, ProofOfCorrectVote,
UnitVectorInitializationError, Vote,
},
tally::{Crs, EncryptedTally, Tally, TallyDecryptShare},
};