I have tuned the ghash patch to support big-endian mode but I'm really having difficulties testing it out through emulating, I'll attach the patch here so you can test it but I'm not sure how I can fix the bugs on big-endian system if any, you can feel free to send debugging info or setup a remote ssh connection so we can get it work properly.
The patch is built on top of the master branch.
regards, Mamone
On Sun, Jan 10, 2021 at 10:45 PM Michael Weiser michael.weiser@gmx.de wrote:
Hello Maamoun,
On Tue, Jan 05, 2021 at 09:04:59PM +0200, Maamoun TK wrote:
Thank you, I will keep you updated about progress of big-endian support
for
GHASH on arm64 arch so we can test the patch on real device before
sending
it to Niels.
I've added aarch64_be buildroot toolchain container images to https://hub.docker.com/r/michaelweisernettleci/buildroot. Tags are michaelweisernettleci/buildroot:2020.11.1-aarch64_be-glibc and michaelweisernettleci/buildroot:2020.11.1-aarch64_be-uclibc.
I've also updated the arm CI branch[1] with with an aarch64_be build[2] that runs the testsuite through qemu-user.
[1] https://gitlab.com/michaelweiser/nettle/-/tree/arm-ci-fat [2] https://gitlab.com/michaelweiser/nettle/-/blob/arm-ci-fat/.gitlab-ci.yml#L17...
The BE pine64 board is also all updated now and standing by.
HTH, Michael