1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! High-level applications for proofs defined in this crate.
//!
//! For now, the applications are:
//!
//! - [`EncryptedChoice`]. Single-choice or multi-choice selection from a predefined
//!   list of options, with summable selection ciphertexts.
//! - [`QuadraticVotingBallot`]. [Quadratic voting] on a predefined list of options,
//!   with summable selection ciphertexts.
//!
//! [Quadratic voting]: https://en.wikipedia.org/wiki/Quadratic_voting

mod choice;
mod quadratic_voting;

pub use self::{
    choice::{
        ChoiceParams, ChoiceVerificationError, EncryptedChoice, MultiChoice, ProveSum, SingleChoice,
    },
    quadratic_voting::{QuadraticVotingBallot, QuadraticVotingError, QuadraticVotingParams},
};