Skip to content
  • Nick Mathewson's avatar
    Nuke uses of memcmp outside of unit tests · b1ff8dae
    Nick Mathewson authored
    We want to be saying fast_mem{cmp,eq,neq} when we're doing a
    comparison that's allowed to exit early, or tor_mem{cmp,eq,neq} when
    we need a data-invariant timing.  Direct use of memcmp tends to imply
    that we haven't thought about the issue.
    b1ff8dae