• Jason A. Donenfeld's avatar
    crypto: sm3,sm4 - move into crypto directory · d2825fa9
    Jason A. Donenfeld authored
    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: default avatarJason A. Donenfeld <Jason@zx2c4.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    d2825fa9
sm3.c 7.83 KB