-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to add some crypto agility.
Introduce ISymmetricEncryptContext and ISymmetricDecryptContext abstract interfaces. Connection class will hold a pointer to these, instead of having members to AES-GCM concrete types directly. In a few places we no longer need a switch on the cipher type, since we will rely on virtual function dispatch instead. This should make it much easier to address #196 P4:6878145
- Loading branch information
1 parent
f6c05bb
commit 299cbad
Showing
4 changed files
with
159 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters