Expand description
Collection of utilities for benchmarking the tor-proto crate.
Re-exports§
pub use super::ClientLayer;pub use super::CryptInit;pub use super::InboundClientCrypt;pub use super::InboundClientLayer;pub use super::InboundRelayLayer;pub use super::OutboundClientCrypt;pub use super::OutboundClientLayer;pub use super::OutboundRelayLayer;pub use super::RelayCellBody;pub use super::RelayLayer;pub use super::cgo::bench_utils as cgo;pub use super::tor1::bench_utils as tor1;pub use super::handshake::ShakeKeyGenerator as KGen;
Constants§
- BENCH_
CHAN_ CMD - The channel command used as additional data for the cryptographic operations benchmarks.
Functions§
- circuit_
encrypt_ inbound - Encrypts the given
RelayCellBodyin the inbound direction by all the relays in a circuit.