2 @brief core: main loop and onion routing functionality
4 The "core" directory has the central protocols for Tor, which every
5 client and relay must implement in order to perform onion routing.
7 It is divided into three lower-level pieces:
9 - \refdir{core/crypto} -- Tor-specific cryptography.
11 - \refdir{core/proto} -- Protocol encoding/decoding.
13 - \refdir{core/mainloop} -- A connection-oriented asynchronous mainloop.
15 and one high-level piece:
17 - \refdir{core/or} -- Implements onion routing itself.