arm64/crypto: use crypto instructions to generate AES key schedule
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 3 Nov 2014 16:50:01 +0000 (16:50 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 6 Nov 2014 17:25:28 +0000 (17:25 +0000)
commit12ac3efe74f888a13cb4df88b38bb01e8034dea8
tree081f49d1ba791aeffbb6aec6285c560bc67b3ed3
parent286fb1cc32b11c18da3573a8c8c37a4f9da16e30
arm64/crypto: use crypto instructions to generate AES key schedule

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.

Tested-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/crypto/Kconfig
arch/arm64/crypto/aes-ce-ccm-glue.c
arch/arm64/crypto/aes-ce-cipher.c
arch/arm64/crypto/aes-ce-setkey.h [new file with mode: 0644]
arch/arm64/crypto/aes-glue.c