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

ChaCha20Poly1305 is slow on ARM64 #29440

Closed
zx2c4 opened this issue Dec 28, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@zx2c4
Copy link
Contributor

commented Dec 28, 2018

While amd64 has some amount of accelerated code for ChaCha20 and Poly1305 (chacha20poly1305_amd64.s), ARM64 has none. This has been a shortcoming for some time, but is now resulting in more and more bug reports to me as users complain about WireGuard on mobile being battery inefficient [android, ios], since all the crypto uses Go.

Somebody posted to gerrit an implementation of chacha20 and another person posted to gerrit an implementation of poly1305, but there's been no timeline set for merging of these, and I haven't seen any public plans posted about pursuing alternative implementations either.

This issue is to track the status of ChaCha20Poly1305 acceleration on ARM64, so that perhaps it can be added to some milestone or something.

@zx2c4

This comment has been minimized.

Copy link
Contributor Author

commented Dec 28, 2018

Ahh, this appears to be a duplicate of #22809 - closing.

@zx2c4 zx2c4 closed this Dec 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.