Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upChaCha20Poly1305 is slow on ARM64 #29440
Comments
This comment has been minimized.
This comment has been minimized.
|
Ahh, this appears to be a duplicate of #22809 - closing. |
zx2c4
closed this
Dec 28, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zx2c4 commentedDec 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.