On Mon, Jun 3, 2019 at 5:31 AM Niels Möller <[email protected]> wrote:
>
> 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.

Thanks Niels.

Are there any plans for ARMv8?

The reason I ask is, I want to recommend Nettle for a project. The two
biggest use cases are x86 and ARM (both 32-bit and 64-bit flavors).
Candidate libraries should have support for Intel and ARM
acceleration.

If ARMv8 is several months away then Nettle is a candidate. If there
are no plans then other libraries should be evaluated.

Jeff
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to