tor_proto/crypto.rs
1//! Cryptographic functions of the tor protocol.
2//!
3//! There are three sub-modules here:
4//!
5//! * `cell` implements relay crypto as used on circuits.
6//! * `handshake` implements the ntor handshake.
7//! * `ll` provides building blocks for other parts of the protocol.
8
9#[cfg(feature = "bench")]
10pub(crate) mod bench_utils;
11pub(crate) mod binding;
12pub(crate) mod cell;
13pub(crate) mod handshake;
14pub(crate) mod ll;
15#[cfg(test)]
16mod testing;