arm64/crypto: use crypto instructions to generate AES key schedule
(cherry pick from commit
12ac3efe74f888a13cb4df88b38bb01e8034dea8)
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>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug:
23181629
(cherry picked from commit
60b9dd6043fdc26860d850c364fd92b1f4e170fc)