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

Add comment explaining NoPadding for AES in Java wrapper crypto callbacks

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Java binding
    • None

      It's confused some readers why the crypto callbacks specify NoPadding for AES encryption when padding is required. The reason is because libmongocrypt does the padding before calling the callback.

      We should add a comment explaining that.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: