[PATCH] arm64/crypto: use crypto instructions for generating AES key schedule

Catalin Marinas catalin.marinas at arm.com
Wed Oct 22 09:25:49 PDT 2014


On Wed, Oct 22, 2014 at 08:15:32AM +0100, Ard Biesheuvel wrote:
> This patch implements the AES key schedule generation using ARMv8
> Crypto Instructions. It replaces the table based C implementation
> in aes_generic.ko, which means we can drop the dependency on that
> module.

I don't really understand the AES stuff but there's something else I
noticed: if you build a kernel with the crypto stuff and run it on an
implementation that does not have the crypto extensions, there does not
seem to be any check for not using these algorithms (or falling back to
the generic implementation). Does the kernel end up with undef faults?

-- 
Catalin



More information about the linux-arm-kernel mailing list