| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
This should make us conflict less with system files named "log.h".
Yes, we shouldn't have been conflicting with those anyway, but some
people's compilers act very oddly.
The actual change was done with one "git mv", by editing
Makefile.am, and running
find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/common/test.h
src/or/test.c
|
| | |
|
| |
| |
| |
| |
| |
| | |
We used to only zero the first ptrsize bytes of the cipher. Since
cipher is large enough, we didn't zero too many bytes. Discovered
and fixed by ekir. Fixes bug 1254.
|
| |
| |
| |
| |
| |
| | |
We used to only zero the first ptrsize bytes of the cipher. Since
cipher is large enough, we didn't zero too many bytes. Discovered
and fixed by ekir. Fixes bug 1254.
|
|/
|
|
|
|
|
|
| |
Some *_free functions threw asserts when passed NULL. Now all of them
accept NULL as input and perform no action when called that way.
This gains us consistence for our free functions, and allows some
code simplifications where an explicit null check is no longer necessary.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
|
|
|
|
|
|
|
| |
Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why.
svn:r13977
|
|
|
|
| |
svn:r13649
|
|
|
|
|
|
|
| |
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation.
svn:r13484
|
|
|
|
| |
svn:r13440
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r12786
|
|
|
|
|
|
|
| |
Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke.
svn:r11761
|
|
|
|
|
|
|
| |
Make some functions static; remove some dead code.
svn:r11750
|
|
|
|
|
|
|
| |
Clean up some macros in aes.c
svn:r11537
|
|
|
|
|
|
|
| |
Re-optimize counter-mode: save about 15% on my core2 by (1) not regenerating the entire counter buffer every time we encrypt a block of keystream (2) using the platform-optimized htonl to convert to big-endian (It's a single instruction on 486 and later ) and (3) not even keeping a separate "counter" and "buffer" when the platform is big-endian. The third still needs testing.
svn:r11536
|
|
|
|
|
|
|
| |
is what you meant to do.
svn:r11529
|
|
|
|
|
|
|
| |
Switch our AES implementation from "128 bit counter with to 64 bits set to 0" to a proper implementation of counter mode. Also, add an aes_set_iv function to initialize the counter to a nonzero value.
svn:r11518
|
|
|
|
|
|
|
| |
Back out insufficiently evidenced FULL_UNROLL in aes.c
svn:r9693
|
|
|
|
|
|
|
| |
Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling.
svn:r9672
|
|
|
|
| |
svn:r9664
|
|
|
|
|
|
|
| |
try to make aes encryption of cells about 30-40% faster where applicable. offer not available for all architectures or all versions of openssl.
svn:r9663
|
|
|
|
|
|
|
| |
Add a quick-and-dirty AES benchmark function to the bottom of aes.c so I can go collecting data.
svn:r9660
|
|
|
|
|
|
|
| |
Note some optimizations that are probably not worth it for 0.1.2.x based on preliminary profiling.
svn:r9659
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
| |
svn:r6143
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
|
|
| |
implementation. This is the one that flies. (Avoid OpenSSL; optimizze rijndael calling convention to avoid needing to marshall and unmarshall counter.) This should speed up cell encryption by about 27%.
svn:r5486
|
|
|
|
|
|
| |
ever appeared in a released version.)
svn:r5179
|
|
|
|
|
|
| |
current leak, but it may help dmalloc work.
svn:r5168
|
|
|
|
| |
svn:r5160
|
|
|
|
|
|
| |
little better.
svn:r5150
|
|
|
|
|
|
| |
(if they exist).
svn:r5146
|
|
|
|
|
|
| |
looks at me like some kind of loon
svn:r5140
|
|
|
|
| |
svn:r5139
|
|
|
|
| |
svn:r5129
|
|
|
|
| |
svn:r4404
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4378
|
|
|
|
| |
svn:r4184
|
|
|
|
| |
svn:r3982
|
|
|
|
|
|
| |
every file.
svn:r3019
|
|
|
|
| |
svn:r2989
|
|
|
|
|
|
| |
configure.in and always include orconfig.h before anything else
svn:r2854
|
|
|
|
| |
svn:r1829
|