New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement '_mm_aesenc_si128' support. #6
Merged
Merged
Conversation
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
6 tasks
|
mjmacleod
added a commit
to muntorg/munt-official
that referenced
this pull request
Sep 10, 2019
…on't have crypto extensions. Based with permission on implementation by Ard Biesheuvel. See pull request DLTcollab/sse2neon#6 for more information.
mjmacleod
added a commit
to muntorg/munt-official
that referenced
this pull request
Sep 10, 2019
…on't have crypto extensions. Based with permission on implementation by Ard Biesheuvel. See pull request DLTcollab/sse2neon#6 for more information.
@mjmacleod, Thanks for contribution! Can you please run |
Thank @mjmacleod and @ardbiesheuvel for the great work! |
This was referenced Oct 12, 2023
mr-c
added a commit
to mr-c/simde
that referenced
this pull request
Oct 16, 2023
mr-c
added a commit
to mr-c/simde
that referenced
this pull request
Oct 16, 2023
mr-c
added a commit
to mr-c/simde
that referenced
this pull request
Oct 16, 2023
mr-c
added a commit
to simd-everywhere/simde
that referenced
this pull request
Oct 16, 2023
nemequ
pushed a commit
to simd-everywhere/simde-no-tests
that referenced
this pull request
Oct 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request implements _mm_aesenc_si128 using the armv8 crypto extensions (where available) and a neon based vectorised aes round when crypto extensions are not available.
The vectorised neon version is based on an implementation by @ardbiesheuvel (which is used in the kernel for aegis and also talked about in several articles http://www.workofard.com/2017/01/accelerated-aes-for-the-arm64-linux-kernel/ http://www.workofard.com/2017/07/ghash-for-low-end-cores/
I've reproduced it with his permission and made slight modifications to make it fit in with sse2neon, along with implementing a basic test. I've tagged @ardbiesheuvel so that he can confirm that it is okay for it to enter this project under MIT license.