-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chacha: Move x86-64 CPU & length dispatching from assembly to C.
The x86-64 and x86 code both have 4x and 1x SSSE3 code paths. Only the x86-64 version is modified here. (For 32-bit x86, it looks like it would be much harder to separate the 1x and 4x code paths into separate functions and there's little motivation to do so. So it is likely that 32-bit x86 would define |CHACHA20_ASM_SSSE3| without |CHACHA20_ASM_SSSE3_4X|.) Bug: 673 Change-Id: I48a3fb8a2c6eb05a33c5ef20efff7ed000e51d71 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/64467 Reviewed-by: Bob Beck <bbe@google.com> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com>
- Loading branch information
1 parent
c6aab5f
commit d5a22ff
Showing
6 changed files
with
126 additions
and
68 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