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

2018-01-24 Thread Tor Bug Tracker & Wiki
#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: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2018-01-24 Thread Tor Bug Tracker & Wiki
#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|   Keywords:  memory, performance, malloc
Actual Points:|  Parent ID:  #23777
   Points:|   Reviewer:
  Sponsor:|
--+-
 Our HMAC usage accounts for a comparatively large fraction of our
 allocations, according to the data from #23777.  Let's see if we can make
 it allocate less, since it's part of our critical path.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs