Hi Niels and Maamoun,
On Fri, Dec 18, 2020 at 07:18:24PM +0200, Maamoun TK wrote:
One problem with the current state is that big-endian arm is most likely broken. I don't want to delay the release for that though, since I'm not able to fix it. If anyone is able to test and fix, soon would be a good time for it (but I'd consider a bug-fix release with just those fixes anytime later).
With the prospect of a new release on the horizon I finally gave myself a push and dug into chacha-3core yesterday. Porting over the basic IF_[LB]E mechanism from chacha-core-internal was easy and fixed up the first of the three interleaved blocks right away. For the other two I am still in the process of wrapping my head around how the interleaving works and how it would need some adjustment for BE.
Don't delay the release on my part because I guess I'm still the only joker running big-endian arm. ;)
I also delayed the big-endian support of GHASH algorithm for Aarch64 because I don't have access to big-endian device for testing. Do you think using cross-compile and qemu for the test would work? If so I will gladly contribute with those fixes.
qemu-user works nicely for aarch64_be. I used it to semi-natively compile a whole aarch64 userland. I could dust off pine64 board that is running that userland now for real-world testing if you like.