Jeffrey Walton <[email protected]> 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 -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
