-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: enable support for encryption of memory pages
This patch enables encryption of memory pages using the AES-XTS. This block cipher is more efficient when encrypting consecutive blocks of data (memory pages) and allows the use of hardware acceleration available in modern CPUs. XTS uses two 256-bits AES keys. One key is used to perform block encryption, and the other is used to encrypt a "tweak value". The encrypted tweak is further modified with a Galois polynomial function and XOR-ed with both the plain text and the cipher text of each block. This ensures that encrypting multiple blocks with identical data will produce different ciphertext. Suggested-by: Daiki Ueno <[email protected]> Signed-off-by: Radostin Stoyanov <[email protected]>
- Loading branch information
Showing
8 changed files
with
481 additions
and
14 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
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
Oops, something went wrong.