]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/sm4-ce - rename to sm4-ce-cipher
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Tue, 15 Mar 2022 09:44:52 +0000 (17:44 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Apr 2022 08:12:47 +0000 (16:12 +0800)
commit27f6075585b34be859c7987a5417087d9dcee475
treeedb39becc3278973ce8968e8e536e8a70fb054f0
parent72f9b00b8a03ca46459735c123a1901c01e731bf
crypto: arm64/sm4-ce - rename to sm4-ce-cipher

The subsequent patches of the series will have an implementation
of SM4-ECB/CBC/CFB/CTR accelerated by the CE instruction set, which
conflicts with the current module name. In order to keep the naming
rules of the AES algorithm consistent, the sm4-ce algorithm is
renamed to sm4-ce-cipher.

In addition, the speed of sm4-ce-cipher is better than that of SM4
NEON. By the way, the priority of the algorithm is adjusted to 300,
which is also to leave room for the priority of SM4 NEON.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Makefile
arch/arm64/crypto/sm4-ce-cipher-core.S [new file with mode: 0644]
arch/arm64/crypto/sm4-ce-cipher-glue.c [new file with mode: 0644]
arch/arm64/crypto/sm4-ce-core.S [deleted file]
arch/arm64/crypto/sm4-ce-glue.c [deleted file]