summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-09-20 17:07:45 +0000
committerNick Mathewson <nickm@torproject.org>2007-09-20 17:07:45 +0000
commit262d5ab0a8172ac0cd67adedd210179d59aa2932 (patch)
treea1df1878e52b424d6d4ff70bcf675d132622c55f /ChangeLog
parent088c4cd8ce83617b11fdbbbb02dcf9a23dcc6581 (diff)
downloadtor-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--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fb4af1f583..300a3ec0dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.