Age | Commit message (Collapse) | Author |
|
svn:r16778
|
|
authorization data. Tweaked a bit: see comments on or-dev.
svn:r16475
|
|
fix for bug 704; found by sjmurdoch. Windows and recent openssl both want to define OCSP_RESPONSE; do not let them.
svn:r15533
|
|
openssl uses them.
svn:r15222
|
|
svn:r14950
|
|
New (temporary) tool to dump the modulus of a key. May help with a project of weasel's.
svn:r14580
|
|
Use RAND_poll() again: the bug that made us stop using it has been fixed.
svn:r14150
|
|
Whitespace fixes
svn:r13700
|
|
More 64-to-32 fixes. Partial backport candidate. still not done.
svn:r13680
|
|
Fix all remaining shorten-64-to-32 errors in src/common. Some were genuine problems. Many were compatibility errors with libraries (openssl, zlib) that like predate size_t. Partial backport candidate.
svn:r13665
|
|
Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not.
svn:r13664
|
|
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use.
svn:r13532
|
|
svn:r13440
|
|
Change DNs in x509 certificates to be harder to fingerprint. Raise common code. Refactor random hostname generation into crypto.c
svn:r13429
|
|
Fix bug in last patch that made secret_to_key crash.
svn:r13415
|
|
Be more thorough about memory poisoning and clearing. Add an in-place version of aes_crypt in order to remove a memcpy from relay_crypt_one_payload.
svn:r13414
|
|
svn:r13412
|
|
Remove some dead code; fix some XXX020s; turn some XXX020s into XXXX_IP6s (i.e., "needs to be fixed when we add ipv6 support").
svn:r13382
|
|
Do not segfault if symetric key generation somehow fails in crypto_hybrid_encrypt.
svn:r13132
|
|
Remove some dead code.
svn:r13053
|
|
svn:r12786
|
|
svn:r12580
|
|
Parse CERT cells and act correctly when we get them.
svn:r12396
|
|
Use HMAC() function from openssl. Oops.
svn:r12304
|
|
HMAC-SHA-1 implementation, with unit tests based on vectors from RVFC2202. Steven's stuff will need this.
svn:r12289
|
|
Drop support for OpenSSL 0.9.6.
svn:r12191
|
|
oprofile was telling me that a fair bit of our time in openssl was spent in base64_decode, so replace base64_decode with an all-at-once fairly optimized implementation. For decoding keys and digests, it seems 3-3.5x faster than calling out to openssl. (Yes, I wrote it from scratch.)
svn:r12002
|
|
Fix bug 528: fix memory leak in base32_decode(). While there, also make base32_decode() accept upper-case inputs.
svn:r11946
|
|
Remove a bunch of redundant includes in crypto.c
svn:r11885
|
|
Patch from karsten: remove cbc and make unit tests handle aes-ctr-with-iv.
svn:r11538
|
|
New (untested) code to implement AES-with-IV. Currently, IVs are generated randomly. Once tested, should be (almost) a drop-in replacement for the CBC functions.
svn:r11519
|
|
svn:r11490
|
|
step of integrating his new hidden service stuff
svn:r11489
|
|
Expose a function to parse a private key from a string as CRYPTO_PRIVATE. For testing.
svn:r10583
|
|
Fix up a couple of loops flagged by -Wunsafe-loop-optimizations so that they are more readable (and more amenable to compilation)
svn:r10513
|
|
Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400.
svn:r10485
|
|
Set umask(0700) when starting tor-gencert; resolves bug 445.
svn:r10475
|
|
Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const.
svn:r10208
|
|
Fix dumb bug introduced in r10199
svn:r10202
|
|
Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed.
svn:r10199
|
|
Remove the "RSA keys are 128-bits" assumption from crypto.c
svn:r10096
|
|
Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h
svn:r10074
|
|
Try to build without warnings on mingw with verbose warnings on. First attempt.
svn:r9688
|
|
Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling.
svn:r9672
|
|
Update copyright dates.
svn:r9570
|
|
svn:r9495
|
|
Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition.
svn:r9483
|
|
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
|
|
And remove another strcpy.
svn:r9375
|
|
null. better safe than sorry.
svn:r8767
|