[PATCH] support timingsafe_memcmp() on Operating Systems that support it
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().
Trac:
Username: logan