aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.md
blob: 8ecc43eaae3ea594a34e6910666f7330f1bedeb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@dir /core
@brief core: main loop and onion routing functionality

The "core" directory has the central protocols for Tor, which every
client and relay must implement in order to perform onion routing.

It is divided into three lower-level pieces:

   - \refdir{core/crypto} -- Tor-specific cryptography.

   - \refdir{core/proto} -- Protocol encoding/decoding.

   - \refdir{core/mainloop} -- A connection-oriented asynchronous mainloop.

and one high-level piece:

   - \refdir{core/or} -- Implements onion routing itself.