summaryrefslogtreecommitdiff
path: root/tor.spec.in
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 /tor.spec.in
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 'tor.spec.in')
0 files changed, 0 insertions, 0 deletions