[SERVER-63188] Add AES-CTR support for macOS Created: 01/Feb/22  Updated: 11/Feb/22  Resolved: 11/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Sergey Galtsev (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-63186 Add AES-CTR support for Openssl Closed
is depended on by SERVER-63189 Add AES-CTR support for Windows Closed
Sprint: Security 2022-02-07, Security 2022-02-21
Participants:

 Description   

Extend the existing SymmetricEncryptorApple in src/mongo/crypto/symmetric_crypto_apple.cpp to support AES-CTR mode
 
Make sure macOS and OpenSSL AES-CTR behave the same way. I am unsure if macOS and OpenSSL bump the counter the same way.
 
Mac API Example: https://github.com/apple-oss-distributions/CommonCrypto/blob/CommonCrypto-60178.120.3/CCRegression/CommonCrypto/CommonCryptoSymCTR.c



 Comments   
Comment by Githook User [ 11/Feb/22 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-63188 Add AES-CTR support for macOS
Branch: master
https://github.com/mongodb/mongo/commit/aa94639dc75923ec9ae679c6bb8e79c051359b45

Generated at Thu Feb 08 05:57:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.