[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #4525 [Tor Relay]: Use AES_* when no AES engine is set; use EVP_* otherwise
#4525: Use AES_* when no AES engine is set; use EVP_* otherwise
-----------------------+----------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Benchmarking shows about 5% overhead for using the EVP_* aes functions
over using the AES_* functions, when no accelerators are present. This
holds true both on openssl 0.9.7 and 1.0.0, and on OSX 32-bit, atom
64-bit, and Core2 quad 8200 systems, so it's probably a fairly consistent
finding.
With #4442, we made our aes code use EVP always, which is a big win with
accelerated AES, but a small loss without. Let's fix that.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4525>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs