Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #17944

Closed (moved)
(moved)
Open
Created Dec 28, 2015 by Trac@tracbot

[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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking