Skip to content
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

Optimized AES #22660

Open
trufae opened this issue Feb 29, 2024 · 2 comments
Open

Optimized AES #22660

trufae opened this issue Feb 29, 2024 · 2 comments

Comments

@trufae
Copy link
Collaborator

trufae commented Feb 29, 2024

This one looks neat

https://gist.github.com/alula/2504f5cadc3600c3b29ce8f9d9da1b46

@riptl
Copy link
Contributor

riptl commented Apr 1, 2024

We can go much faster with AVX AES like _mm256_aesenc_epi128 or _mm512_aesenc_epi128. Will work on this

@trufae
Copy link
Collaborator Author

trufae commented Apr 1, 2024

The idea was to optimize using plain c and not spent much time on this but well this is a low prio issue because its not a core feature and for what people use aes in r2 speed is not a problem.
Intrinsics are tied to compilers and wont work on msvc, old gcc or tcc and i prefer readable and maintainable code than fill it with ifdefs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants