Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-225

Improve and rename _mongocrypt_memcmp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.0.1
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: