[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs