[tor-bugs] #13399 [Tor]: New digest256map_t type; use it for microdescriptors.

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 13 17:29:35 UTC 2014


#13399: New digest256map_t type; use it for microdescriptors.
------------------------+------------------------------------
 Reporter:  nickm       |          Owner:
     Type:  defect      |         Status:  new
 Priority:  normal      |      Milestone:  Tor: 0.2.6.x-final
Component:  Tor         |        Version:
 Keywords:  tor-client  |  Actual Points:
Parent ID:              |         Points:
------------------------+------------------------------------
 We store microdescriptors by a 256-bit SHA256 digest of their text.  But
 in some places (e.g. microdescs_add_to_cache) we use a 160-bit prefix of
 the SHA256 digest.  We should just add a digst256map_t type, and use it as
 appropriate.

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


More information about the tor-bugs mailing list