tor/src/common
Nick Mathewson f6dbe5a0d4 Refactor crypto error handling to be more like TLS error handling:
crypto_perror is a no-no, since an operation can set more than one
error.

Also, fix a bug in the unix crypto_seed_rng: mixing stdio with
/dev/urandom is a bad idea, since fopen can make all kinds of weird
extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends
to buffer data in big chunks, thus depleting the entropy pool.


svn:r1717
2004-04-26 18:09:50 +00:00
..
.cvsignore Make cvsignores reflect build process 2003-06-21 19:09:09 +00:00
aes.c Delete trailing whitespace and expand tabs; remove unused aes decrypt code 2004-04-07 19:57:40 +00:00
aes.h Document stuff, reduce magic numbers, add emacs magic 2004-04-06 03:44:36 +00:00
crypto.c Refactor crypto error handling to be more like TLS error handling: 2004-04-26 18:09:50 +00:00
crypto.h Refactor crypto error handling to be more like TLS error handling: 2004-04-26 18:09:50 +00:00
fakepoll.c Document stuff, reduce magic numbers, add emacs magic 2004-04-06 03:44:36 +00:00
fakepoll.h Document stuff, reduce magic numbers, add emacs magic 2004-04-06 03:44:36 +00:00
log.c Document stuff, reduce magic numbers, add emacs magic 2004-04-06 03:44:36 +00:00
log.h Document stuff, reduce magic numbers, add emacs magic 2004-04-06 03:44:36 +00:00
Makefile.am ship strlcat and strlcpy with the tarball, but don't compile them 2004-03-19 06:39:52 +00:00
strlcat.c Include strlcpy and strlcat where not available, so our string ops can be less error-prone. 2004-03-17 07:28:09 +00:00
strlcpy.c Include strlcpy and strlcat where not available, so our string ops can be less error-prone. 2004-03-17 07:28:09 +00:00
test.h Add some wrappers around SPLAY_* for the common map-from-string-to-X case. 2004-03-19 22:07:24 +00:00
torint.h Document stuff, reduce magic numbers, add emacs magic 2004-04-06 03:44:36 +00:00
tortls.c Log pending TLS errors in a couple more places, in case they are possible. 2004-04-26 16:52:47 +00:00
tortls.h Merge flagday into main branch. 2004-04-24 22:17:50 +00:00
util.c Check for machine/limits.h in addition to sys/limits.h 2004-04-25 23:47:26 +00:00
util.h Add a tor_assert macro that logs failed assertions. 2004-04-25 19:37:39 +00:00