• Robert Elliott's avatar
    crypto: tcrypt - remove mode=1000 · 6363d81b
    Robert Elliott authored
    The lists of algothms checked for existence by
        modprobe tcrypt mode=1000
    generates three bogus errors:
        modprobe tcrypt mode=1000
    
        console log:
        tcrypt: alg rot13 not found
        tcrypt: alg cts not found
        tcrypt: alg arc4 not found
    
    rot13 is not an algorithm in the crypto API or tested.
    
    cts is a wrapper, not a base algorithm.
    
    arc4 is named ecb(arc4), not arc4.
    
    Also, the list is missing numerous algorithms that are tested by
    other test modes:
        blake2b-512
        blake2s-256
        crct10dif
        xxhash64
        ghash
        cast5
        sm4
        ansi_prng
    
    Several of the algorithms are only available if
    CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is enabled:
        arc4
        khazad
        seed
        tea, xtea, xeta
    
    Rather that fix that list, remove test mode=1000 entirely.
    It seems to have limited utility, and a web search shows no
    discussion of anybody using it.
    Suggested-by: default avatarArd Biesheuvel <ardb@kernel.org>
    Signed-off-by: default avatarRobert Elliott <elliott@hpe.com>
    Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    6363d81b
tcrypt.c 75.1 KB