]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit859a494806a97c0065a29c6e0025a0cd5ef3c7a9
treee25df88302a2b235e57986cb861746ee4b927d27
parenta20eb2bdf5f5e42f6bfdf4875efa3dd00d60b11d
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]