-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avx2: [aes-gcm] new VAES AVX2 implementation (#530)
* avx2: [aes-gcm] new VAES AVX2 implementation Library aes-gcm: - new macro added to generate AVX2 three operand instructions with memory as the second source - created 16 block implementation with high level flow as follows - lead with aes-ctr (16 blocks) - repeat: aes-ctr on the next 16 blocks and GHASH on cipher text blocks from the previous step - end with GHASH on 16 blocks - GHASH_N_BLOCKS macro created and functions added to compute GHASH over 1 to 16 blocks - functions created for ENCRYPT_FINAL_PARTIAL_BLOCK macro invocations - functions created to encrypt 1 to 16 blocks - INITIAL_BLOCKS uses functions to encrypt N-initial number of blocks - reduced number of arguments to GHASH_16_ENCRYPT_16_PARALLEL - use internal GHASH function to reduce AAD in GCM_INIT Test: - stop aes-gcm scatter gather list test on the first failure
- Loading branch information
Showing
13 changed files
with
3,860 additions
and
4,377 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
Oops, something went wrong.