[tor-bugs] #15918 [Tor]: Investigate using the EVP interface for non-oneshot hash calls.

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 4 14:04:28 UTC 2015


#15918: Investigate using the EVP interface for non-oneshot hash calls.
-------------------------+-------------------------------------------------
     Reporter:  yawning  |      Owner:
         Type:           |     Status:  new
  enhancement            |  Milestone:  Tor: unspecified
     Priority:  minor    |    Version:  Tor: unspecified
    Component:  Tor      |   Keywords:  tor-core, tor-crypto, openssl, evp,
   Resolution:           |  lorax
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by nickm):

 It would be good to know, via profiles, how much of our time is spent on
 these hashes for what reason.

 For example, if most of our time in these hashes is via TLS, then we
 already have the optimizations for free, I believe.

 OTOH, if most of our time in SHA1 is because of its use in OpenSSL's silly
 PRNG, we should probably consider replacing the aforementioned PRNG
 wholesale.

 Only if in-Tor usage is a majority, and it's majority non-oneshot, should
 we follow this thread.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15918#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list