summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-06-12 18:19:57 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-06-20 14:19:55 +0800
commit611a23c2d3961d2ec72f42582ee88755f9a03cee (patch)
treeb7434f4a29f6f4b24c61ba413f66bd1be66d6ff8 /crypto/testmgr.c
parent4be297016cd3a6aedbcc3b053da16cdd42546f04 (diff)
downloadlinux-next-611a23c2d3961d2ec72f42582ee88755f9a03cee.tar.gz
crypto: arc4 - remove cipher implementation
There are no remaining users of the cipher implementation, and there are no meaningful ways in which the arc4 cipher can be combined with templates other than ECB (and the way we do provide that combination is highly dubious to begin with). So let's drop the arc4 cipher altogether, and only keep the ecb(arc4) skcipher, which is used in various places in the kernel. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index f7fdd7fe89a9..5d163dd2ffac 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -4404,6 +4404,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}, {
.alg = "ecb(arc4)",
+ .generic_driver = "ecb(arc4)-generic",
.test = alg_test_skcipher,
.suite = {
.cipher = __VECS(arc4_tv_template)