[tor-bugs] #24659 [Core Tor/Tor]: Wrap our sha2 interface in Rust which implements the appropriate traits

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 18 20:29:44 UTC 2017


#24659: Wrap our sha2 interface in Rust which implements the appropriate traits
------------------------------+--------------------------------
     Reporter:  isis          |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  rust, tor-crypto,
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 We should wrap our usage of hash digest functions (and XOFs) in Rust types
 which implement the appropriate traits, yet still exposes the same API
 functionality we currently have in C. To keep this task small, I think we
 should start off with just the sha2 code for now. (Later, it's probably
 some copy-paste and a bit of refactoring to provide the same interface for
 other digests, and similar for XOFs.)

 This ticket is probably slightly blocked on #24658, and in turn is
 blocking #23886.

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


More information about the tor-bugs mailing list