Debian Codegraph @

third_party/rust/prio/src/lib.rs

raw
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
17 pub mod benchmarked;
18 pub mod codec;
19 #[cfg(feature = "experimental")]
20 #[cfg_attr(docsrs, doc(cfg(feature = "experimental")))]
21 pub mod dp;
22 mod fft;
23 pub mod field;
24 pub mod flp;
25 mod fp;
26 #[cfg(all(feature = "crypto-dependencies", feature = "experimental"))]
27 #[cfg_attr(
28 docsrs,
29 doc(cfg(all(feature = "crypto-dependencies", feature = "experimental")))
30 )]
31 pub mod idpf;
32 mod polynomial;
33 mod prng;
34 pub mod topology;
35 pub mod vdaf;
36 #[cfg(all(feature = "crypto-dependencies", feature = "experimental"))]
37 #[cfg_attr(
38 docsrs,
39 doc(cfg(all(feature = "crypto-dependencies", feature = "experimental")))
40 )]
41 pub mod vidpf;