aboutsummaryrefslogtreecommitdiff
path: root/src/common/aes.c
Commit message (Expand)AuthorAge
* Rename log.h to torlog.h•••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/; }' Nick Mathewson2010-07-09
* Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| * Zero a cipher completely before freeing it•••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. Sebastian Hahn2010-02-26
* | Zero a cipher completely before freeing it•••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. Sebastian Hahn2010-02-22
* | *_free functions now accept NULL•••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. Sebastian Hahn2009-12-12
|/
* Spell-check Tor.Nick Mathewson2009-05-27
* Update copyright to 2009.Karsten Loesing2009-05-04
* Remove svn $Id$s from our source, and remove tor --version --version.•••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 Nick Mathewson2009-01-04
* r18753@catbus: nickm | 2008-03-11 14:56:39 -0400••• Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why. svn:r13977 Nick Mathewson2008-03-11
* other cleanups that have been sitting in my sandbox•••svn:r13649 Roger Dingledine2008-02-21
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500••• 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 Nick Mathewson2008-02-12
* doxygen and other cleanups•••svn:r13440 Roger Dingledine2008-02-09
* r17963@catbus: nickm | 2008-02-07 10:14:25 -0500••• 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 Nick Mathewson2008-02-07
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* r15530@catbus: nickm | 2007-10-04 12:16:27 -0400••• 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 Nick Mathewson2007-10-04
* r15512@catbus: nickm | 2007-10-02 16:27:43 -0400••• Make some functions static; remove some dead code. svn:r11750 Nick Mathewson2007-10-02
* r14532@Kushana: nickm | 2007-09-20 13:25:38 -0400••• Clean up some macros in aes.c svn:r11537 Nick Mathewson2007-09-20
* r15210@catbus: nickm | 2007-09-20 13:04:05 -0400••• 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 Nick Mathewson2007-09-20
* poke at svn until it compiles. nick, you should decide if this•••is what you meant to do. svn:r11529 Roger Dingledine2007-09-20
* r15171@catbus: nickm | 2007-09-19 11:44:54 -0400••• 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 Nick Mathewson2007-09-19
* r12011@catbus: nickm | 2007-02-28 18:13:32 -0500••• Back out insufficiently evidenced FULL_UNROLL in aes.c svn:r9693 Nick Mathewson2007-03-01
* r11976@catbus: nickm | 2007-02-27 19:35:59 -0500••• Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling. svn:r9672 Nick Mathewson2007-02-28
* Add a missing paren, and the results of an experiment.•••svn:r9664 Nick Mathewson2007-02-27
* r11959@catbus: nickm | 2007-02-26 22:53:36 -0500••• 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 Nick Mathewson2007-02-27
* r11956@catbus: nickm | 2007-02-26 13:33:49 -0500••• Add a quick-and-dirty AES benchmark function to the bottom of aes.c so I can go collecting data. svn:r9660 Nick Mathewson2007-02-26
* r11954@catbus: nickm | 2007-02-26 13:01:19 -0500••• Note some optimizations that are probably not worth it for 0.1.2.x based on preliminary profiling. svn:r9659 Nick Mathewson2007-02-26
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* More cleanups noticed by weasel; also, remove macros that nobody uses.•••svn:r6143 Nick Mathewson2006-03-12
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* Ive spent about 10 hours benchmarking permutations on our counter-mode implem...•••svn:r5486 Nick Mathewson2005-12-01
* Stop leaking storage for EVP keys. (This would be a critical bug if it had ev...•••svn:r5179 Nick Mathewson2005-10-03
* Never call free() on tor_malloc()d memory. This is unlikely to be our current...•••svn:r5168 Nick Mathewson2005-09-30
* Reformat inconsistent function declarations.•••svn:r5160 Nick Mathewson2005-09-30
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ...•••svn:r5150 Nick Mathewson2005-09-29
* Use EVP_CIPHER_CTX version of AES from openssl, so openssl can use engines (i...•••svn:r5146 Nick Mathewson2005-09-27
* Point readers of the code to opensslv.h, since everybody who sees 0x0090700f ...•••svn:r5140 Nick Mathewson2005-09-24
* Possible fix to make aes build on woody•••svn:r5139 Nick Mathewson2005-09-24
* Use OpenSSL AES when OpenSSL has version 0.9.7 or later.•••svn:r5129 Nick Mathewson2005-09-23
* flesh out the source file descriptions for doxygen•••svn:r4404 Roger Dingledine2005-06-11
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09
* New whitespace normalization rule: no blank line at EOF.•••svn:r4378 Nick Mathewson2005-06-09
* Make Tor compile with no warnings with gcc4.0 on OSX•••svn:r4184 Nick Mathewson2005-05-07
* update copyright notices.•••svn:r3982 Nick Mathewson2005-04-01
* Suggestion from weasel: Make tor --version --version dump the cvs Id of every...•••svn:r3019 Nick Mathewson2004-11-29
* remove emacs droppings, since nick says he doesn't need them anymore•••svn:r2989 Roger Dingledine2004-11-26
* Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure...•••svn:r2854 Nick Mathewson2004-11-14
* Doxygenate common.•••svn:r1829 Nick Mathewson2004-05-10