[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #13399 [Tor]: New digest256map_t type; use it for microdescriptors.
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs