forked from aws/aws-lc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcm_ghash_v8: Remove swap of H-table values -- 1st step
This is the first in a series of commits aiming to rewrite gcm_ghash_v8 to work directly with the swapped H-table values, rather than swapping them back after loading and falling back to the old code. As a first step, the swapping of A = {H,H2} are removed and all uses of ``` pmull.64 Y, A, X ``` replaced by the equivalent ``` vext.8 X, X, X, aws#8 pmull2.64 Y, A, X vext.8 X, X, X, aws#8 ``` (and similarly for pmull2). This works so long as X and Y don't alias. Of course, the above conversion makes the code much less efficient, and is not final. The next commit will eliminate `vext`.
- Loading branch information
1 parent
f74d892
commit 6e8d9d4
Showing
1 changed file
with
39 additions
and
10 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