Improve and rename _mongocrypt_memcmp

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 1.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ternary comparison in the return can be improved to be closer to a constant time operation. Additionally "memcmp" is likely a misnomer, as it does not have memcmp semantics but is rather a memory equality test.

              Assignee:
              Kevin Albertson
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: