2012-10-12 23:00:01 +02:00
|
|
|
|
|
|
|
OpenBSD_malloc_Linux.c:
|
|
|
|
|
|
|
|
The OpenBSD malloc implementation, ported to Linux. Used only when
|
|
|
|
--enable-openbsd-malloc is passed to the configure script.
|
|
|
|
|
2012-10-12 23:09:33 +02:00
|
|
|
strlcat.c
|
|
|
|
strlcpy.c
|
|
|
|
|
|
|
|
Implementations of strlcat and strlcpy, the more sane replacements
|
|
|
|
for strcat and strcpy. These are nonstandard, and some libc
|
|
|
|
implementations refuse to add them for religious reasons.
|
|
|
|
|
2012-10-12 23:00:01 +02:00
|
|
|
eventdns.[ch]
|
|
|
|
|
|
|
|
A fork of Libevent's DNS implementation, used by Tor when Libevent
|
|
|
|
2.0 or later is not available. Once Libevent 2.0 is required, we
|
|
|
|
should throw this away; it has diverged from evdns.[ch], and is
|
|
|
|
no longer easily mergeable.
|
|
|
|
|
|
|
|
ht.h
|
|
|
|
|
|
|
|
An implementation of a hash table in the style of Niels Provos's
|
|
|
|
tree.h. Shared with Libevent.
|
|
|
|
|
|
|
|
tinytest.[ch]
|
2012-10-13 01:48:26 +02:00
|
|
|
tinytest_demos.c
|
2012-10-12 23:00:01 +02:00
|
|
|
tinytest_macros.h
|
|
|
|
|
|
|
|
A unit testing framework. https://github.com/nmathewson/tinytest
|
|
|
|
|
2012-10-12 23:05:06 +02:00
|
|
|
tor_queue.h
|
|
|
|
|
|
|
|
A copy of sys/queue.h from OpenBSD. We keep our own copy rather
|
|
|
|
than using sys/queue.h, since some platforms don't have a
|
|
|
|
sys/queue.h, and the ones that do have diverged in incompatible
|
2013-01-30 18:27:19 +01:00
|
|
|
ways. (CIRCLEQ or no CIRCLEQ? SIMPLQ or STAILQ?) We also rename
|
|
|
|
the identifiers with a TOR_ prefix to avoid conflicts with
|
|
|
|
the system headers.
|
2012-10-12 23:05:06 +02:00
|
|
|
|
2012-12-03 20:50:48 +01:00
|
|
|
curve25519_donna/*.c
|
|
|
|
|
|
|
|
A copy of Adam Langley's curve25519-donna mostly-portable
|
2012-12-07 18:45:46 +01:00
|
|
|
implementations of curve25519.
|
2014-05-07 07:03:14 +02:00
|
|
|
|
|
|
|
csiphash.c
|
|
|
|
siphash.h
|
|
|
|
|
|
|
|
Marek Majkowski's implementation of siphash 2-4, a secure keyed
|
|
|
|
hash algorithm to avoid collision-based DoS attacks against hash
|
|
|
|
tables.
|