[PATCH v2] crypto/arm: accelerated SHA-512 using ARM generic ASM and NEON
Arnd Bergmann
arnd at arndb.de
Sat Apr 11 13:43:49 PDT 2015
On Saturday 11 April 2015 12:27:18 Ard Biesheuvel wrote:
>
> Ah i see it now. The new Sha256 module as well as the Sha512 i am proposing here both use a single .o containing the !neon and neon implementations, and only expose the latter if KERNEL_MODE_NEON. This way, we can use the exact same .S file ad OpenSSL, which should mean less maintenance burden.
>
> So your fix seems the most appropriate, even if it means v7m won't be able to use the !neon part either.
>
>
Ok, sounds good. If someone wants to change that code to work on ARMv7-M,
they probably want that fix in the openssl version as well, and then we
can update both.
Arnd
More information about the linux-arm-kernel
mailing list