[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #17944 [- Select a component]: [PATCH] support timingsafe_memcmp() on Operating Systems that support it
#17944: [PATCH] support timingsafe_memcmp() on Operating Systems that support it
--------------------------------------+-----------------
Reporter: logan | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: - Select a component | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
--------------------------------------+-----------------
Hi guys,
Tor has its own hand-rolled timing-safe memcmp() which is nice, but
Operating Systems like OpenBSD, NetBSD, and possibly others soon are
starting to ship with a timing safe memcmp().
On OpenBSD, it's called timingsafe_memcmp().
Below is a patch that checks for it, and uses it if the host platform has
a timingsafe_memcmp().
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17944>
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