1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
// Copyright (c) 2020 Apple Inc.
// SPDX-License-Identifier: MPL-2.0
#![warn(missing_docs)]
//! Libprio-rs
//!
//! Implementation of the [Prio](https://crypto.stanford.edu/prio/) private data aggregation
//! protocol. For now we only support 0 / 1 vectors.
#[macro_use]
extern crate static_assertions;
pub mod benchmarked;
pub mod client;
pub mod encrypt;
mod fft;
pub mod field;
mod fp;
pub mod pcp;
mod polynomial;
mod prng;
pub mod server;
// Module test_vector depends on crate `rand` so we make it an optional feature
// to spare most clients the extra dependency.
#[cfg(any(feature = "test-vector", test))]
pub mod test_vector;
pub mod util;
pub mod vdaf;