aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/crypto.rs
blob: 9ad9542bed278d29c13a2f437aee048ac87726ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Cryptographic functions of the tor protocol.
//!
//! There are three sub-modules here:
//!
//!   * `cell` implements relay crypto as used on circuits.
//!   * `handshake` implements the ntor handshake.
//!   * `ll` provides building blocks for other parts of the protocol.

#[cfg(feature = "bench")]
pub(crate) mod bench_utils;
pub(crate) mod binding;
pub(crate) mod cell;
pub(crate) mod handshake;
pub(crate) mod ll;
#[cfg(test)]
mod testing;