[tor-bugs] #4525 [Tor Relay]: Use AES_* when no AES engine is set; use EVP_* otherwise

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Nov 21 02:15:32 UTC 2011


#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


More information about the tor-bugs mailing list