]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sm3,sm4 - move into crypto directory
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 14 Mar 2022 03:11:01 +0000 (21:11 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Apr 2022 08:11:48 +0000 (16:11 +0800)
commit0508ed42c7823042c490348d9bbbc581251a2b93
treec7da9fe51d0ba864e348d8a99843965a149224c8
parent6d94017b7b59bab528be97be158d0d602982e3a6
crypto: sm3,sm4 - move into crypto directory

The lib/crypto libraries live in lib because they are used by various
drivers of the kernel. In contrast, the various helper functions in
crypto are there because they're used exclusively by the crypto API. The
SM3 and SM4 helper functions were erroniously moved into lib/crypto/
instead of crypto/, even though there are no in-kernel users outside of
the crypto API of those functions. This commit moves them into crypto/.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Cc: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Kconfig
crypto/Kconfig
crypto/Makefile
crypto/sm3.c [new file with mode: 0644]
crypto/sm4.c [new file with mode: 0644]
lib/crypto/Kconfig
lib/crypto/Makefile
lib/crypto/sm3.c [deleted file]
lib/crypto/sm4.c [deleted file]