Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23403

Encrypted Storage Engine portability fixes

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.4
    • Affects Version/s: 3.3.3
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Platforms 12 (04/01/16)

      The EncryptedDataProtector::finalize method relies on aliasing a size_t* to an int*. This only work on little endian (it's also bad because of aliasing in general)

      Use data view primitives in symmetric_crypto aesGenerateIV as well (to get rid of the unnecessary aliasing)

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: