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 /INSTALL | |
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 'INSTALL')
0 files changed, 0 insertions, 0 deletions