[tor-bugs] #25007 [Core Tor/Tor]: See if we can allocate less for HMAC in Tor relays

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 24 20:44:41 UTC 2018


#25007: See if we can allocate less for HMAC in Tor relays
-----------------------------------------+---------------------------------
 Reporter:  nickm                        |          Owner:  (none)
     Type:  enhancement                  |         Status:  new
 Priority:  Medium                       |      Milestone:  Tor:
                                         |  0.3.4.x-final
Component:  Core Tor/Tor                 |        Version:
 Severity:  Normal                       |     Resolution:
 Keywords:  memory, performance, malloc  |  Actual Points:
Parent ID:  #23777                       |         Points:
 Reviewer:                               |        Sponsor:
-----------------------------------------+---------------------------------

Comment (by nickm):

 We can almost certainly do better with our hkdf usage by using openssl's
 EVP_PKEY_HKDF where available.

 Resusing an HMAC_CTX structure for other HMAC operations may also improve
 performance.

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


More information about the tor-bugs mailing list