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)
commit02436762f5ff4b3f662bc196c70a563bcbc92b7d
treeedb39becc3278973ce8968e8e536e8a70fb054f0
parent73c919d314ad57be900437fd329990b1d846b763
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 [moved from arch/arm64/crypto/sm4-ce-core.S with 100% similarity]
arch/arm64/crypto/sm4-ce-cipher-glue.c [moved from arch/arm64/crypto/sm4-ce-glue.c with 98% similarity]