prio/
lib.rs

1// Copyright (c) 2020 Apple Inc.
2// SPDX-License-Identifier: MPL-2.0
3
4#![warn(missing_docs)]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6
7//! # libprio-rs
8//!
9//! Implementation of the [Prio](https://crypto.stanford.edu/prio/) private data aggregation
10//! protocol.
11//!
12//! Prio3 is available in the `vdaf` module as part of an implementation of [Verifiable Distributed
13//! Aggregation Functions][vdaf], along with an experimental implementation of Poplar1.
14//!
15//! [vdaf]: https://datatracker.ietf.org/doc/draft-irtf-cfrg-vdaf/05/
16
17pub mod benchmarked;
18#[cfg(all(feature = "crypto-dependencies", feature = "experimental"))]
19mod bt;
20pub mod codec;
21#[cfg(feature = "experimental")]
22#[cfg_attr(docsrs, doc(cfg(feature = "experimental")))]
23pub mod dp;
24pub mod field;
25pub mod flp;
26mod fp;
27#[cfg(all(feature = "crypto-dependencies", feature = "experimental"))]
28#[cfg_attr(
29    docsrs,
30    doc(cfg(all(feature = "crypto-dependencies", feature = "experimental")))
31)]
32pub mod idpf;
33mod ntt;
34mod polynomial;
35mod prng;
36pub mod topology;
37pub mod vdaf;
38#[cfg(all(feature = "crypto-dependencies", feature = "experimental"))]
39#[cfg_attr(
40    docsrs,
41    doc(cfg(all(feature = "crypto-dependencies", feature = "experimental")))
42)]
43pub mod vidpf;