crypto: arm64 - add support for SM4 encryption using special instructions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 25 Apr 2018 12:20:46 +0000 (14:20 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 May 2018 06:52:53 +0000 (14:52 +0800)
commite99ce921c468ab5d2ccbe17c545061916f3ca82a
treee25df88302a2b235e57986cb861746ee4b927d27
parent8da02bf1a216224e6f63b48d883b5aee07f82ba9
crypto: arm64 - add support for SM4 encryption using special instructions

Add support for the SM4 symmetric cipher implemented using the special
SM4 instructions introduced in ARM architecture revision 8.2.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Kconfig
arch/arm64/crypto/Makefile
arch/arm64/crypto/sm4-ce-core.S [new file with mode: 0644]
arch/arm64/crypto/sm4-ce-glue.c [new file with mode: 0644]