On Sun, Mar 13, 2022 at 09:11:01PM -0600, Jason A. Donenfeld wrote: > 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@xxxxxxxxxxxxxxxxxxx> > Cc: Tianjia Zhang <tianjia.zhang@xxxxxxxxxxxxxxxxx> > Cc: Eric Biggers <ebiggers@xxxxxxxxxx> > Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx> > --- > arch/arm64/crypto/Kconfig | 4 ++-- > crypto/Kconfig | 18 ++++++++++++------ > crypto/Makefile | 6 ++++-- > {lib/crypto => crypto}/sm3.c | 0 > {lib/crypto => crypto}/sm4.c | 0 > lib/crypto/Kconfig | 6 ------ > lib/crypto/Makefile | 6 ------ > 7 files changed, 18 insertions(+), 22 deletions(-) > rename {lib/crypto => crypto}/sm3.c (100%) > rename {lib/crypto => crypto}/sm4.c (100%) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt