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

Improve and rename _mongocrypt_memcmp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 1.0.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: