diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-20 21:43:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-25 10:32:21 -0500 |
commit | 9814019a54a9a62e27b9e95eec5c9f0e5519fc57 (patch) | |
tree | 6d678cc25c7a04a86c6c9ddaf43a7dde38e387fc /src/test/test_crypto.c | |
parent | 8143074b3f110a41cc83335b70eb19dfe2b749b0 (diff) | |
download | tor-9814019a54a9a62e27b9e95eec5c9f0e5519fc57.tar.gz tor-9814019a54a9a62e27b9e95eec5c9f0e5519fc57.zip |
Use openssl's counter mode implementation when we have 1.0.0 or later
This shaves about 7% off our per-cell AES crypto time for me; the
effect for accelerated AES crypto should be even more, since the AES
calculation itself will make an even smaller portion of the
counter-mode performance.
(We don't want to do this for pre-1.0.0 OpenSSL, since our AES_CTR
implementation was actually faster than OpenSSL's there, by about
10%.)
Fixes issue #4526.
Diffstat (limited to 'src/test/test_crypto.c')
0 files changed, 0 insertions, 0 deletions