Jeffrey Walton noloader@gmail.com writes:
Does SHA-1 switch to hardware acceleration for x86 and ARMv8 automatically? Or is a different call required?
If Nettle is configured with --enable-fat, choice of assembly routines is done at runtime. Otherwise, it's a compile-time choice.
Regarding sha1, development version (to be nettle-3.5) can use sha_ni instructions on x86_64, for both sha1 and sha256.
There isn't yet any assembly code for ARMv8.
Regards, /Niels