[SERVER-63189] Add AES-CTR support for Windows Created: 01/Feb/22  Updated: 18/Feb/22  Resolved: 18/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-63188 Add AES-CTR support for macOS Closed
is depended on by SERVER-63382 Add support for AES-CTR-HMAC-SHA-256-... Closed
Sprint: Security 2022-02-21
Participants:

 Description   

Extend the existing SymmetricEncryptorWindows in src/mongo/crypto/symmetric_crypto_windows.cpp to support AES-CTR mode

On Windows, a CTR implementation will need to be by using Windows’s BCrypt’s ECB implementation since Windows lacks CTR support.
 
See  https://csrc.nist.gov/publications/detail/sp/800-38a/final for how to implement CTR.
 
Verify the implementation behaves the same as Windows and macOS



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

Author:

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

Message: SERVER-63189 Add AES-CTR support for Windows
Branch: master
https://github.com/mongodb/mongo/commit/b8771dc198977a8205cb4f829b9f21722cf9528a

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