Skip to main content

Module bench_utils

Module bench_utils 

Source
Expand description

Benchmark utilities for the cell module.

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;

Constants§

BENCH_CHAN_CMD
The channel command used as additional data for the cryptographic operations benchmarks.

Functions§

circuit_encrypt_inbound
Encrypts the given RelayCellBody in the inbound direction by all the relays in a circuit.