Module tor1

Source
Available on crate feature bench only.
Expand description

Benchmark utilities for the tor1 module.

Structs§

ClientInbound
An outbound client layer, decryption relay cells from a relay.
ClientOutbound
An outbound client layer, encrypting relay cells for a relay.
CryptStatePair
A pair of CryptStates shared between a client and a relay, one for the outbound (away from the client) direction, and one for the inbound (towards the client) direction.
RelayInbound
An inbound relay layer, encrypting relay cells for a client.
RelayOutbound
An outbound relay layer, decrypting relay cells from a client.

Constants§

TOR1_THROUGHPUT
The throughput for a relay cell in bytes with the Tor1 scheme.