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

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



#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 yawning):

 First cut: https://github.com/Yawning/tor/compare/evp_digests

 Notes:
  * Not ready yet (compiles and unit tests pass).
  * `crypto_digest_assign` is probably uglier than it needs to be.
  * Someone should figure out a good criteria for "use EVP vs the raw SHA
 interface" that can be ran at runtime.  If it were up to me, I would rip
 the old code out and always use the EVP interface, since it's simpler (and
 would make fixing the ugly dead easy...).

 It's `lorax` tagged because this is about as much time as I feel like
 spending on it right now.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15918#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