Fix padding calculation for FLE2 prefix/suffix/substring

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • None
    • Server Security
    • ALL
    • Server Security 2026-06-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MONGOCRYPT-917 made a correction on the prefix/suffix/substring msize calculation because it wasn't adding an extra CBC padding block to the padded string length if the string input already has a 16-byte aligned length.  Update the server vendored libmongocrypt so that it contains that fix, and update the jstests/unit-tests with the new calculations.

            Assignee:
            Erwin Pe
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: