[SERVER-23403] Encrypted Storage Engine portability fixes Created: 29/Mar/16  Updated: 14/Apr/16  Resolved: 29/Mar/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.3.3
Fix Version/s: 3.3.4

Type: Bug Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 12 (04/01/16)
Participants:

 Description   

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)



 Comments   
Comment by Githook User [ 29/Mar/16 ]

Author:

{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}

Message: SERVER-23403 Encrypted Storage Engine endian fixes
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/5ac07968fee0a58817395ae30d10b7e893db4db7

Generated at Thu Feb 08 04:03:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.