diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-09-20 17:07:45 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-09-20 17:07:45 +0000 |
commit | 262d5ab0a8172ac0cd67adedd210179d59aa2932 (patch) | |
tree | a1df1878e52b424d6d4ff70bcf675d132622c55f /ChangeLog | |
parent | 088c4cd8ce83617b11fdbbbb02dcf9a23dcc6581 (diff) | |
download | tor-262d5ab0a8172ac0cd67adedd210179d59aa2932.tar.gz tor-262d5ab0a8172ac0cd67adedd210179d59aa2932.zip |
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
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -15,6 +15,12 @@ Changes in version 0.2.0.7-alpha - 2007-09-21 temporarily runs an old version of Tor and then switches back to a new one, she doesn't automatically lose her guards. + o Minor features (speed): + - When implementing AES counter mode, update only the portions of the + counter buffer that need to change, and don't keep separate + network-order and host-order counters when they are the same (i.e., on + big-endian hosts.) + o Minor features (controller): - Accept LF instead of CRLF on controller, since some software has a hard time generating real Internet newlines. |