crypto: cts - Remove bogus use of seqiv
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Jan 2015 07:09:21 +0000 (18:09 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jan 2015 03:44:15 +0000 (14:44 +1100)
The seqiv generator is completely inappropriate for cts as it's
designed for IPsec algorithms.  Since cts users do not actually
use the IV generator we can just fall back to the default.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Maciej ?enczykowski <zenczykowski@gmail.com>
crypto/cts.c

index bd9405820e8ac5ade61d6d6793ec18510d456ad9..6a8089c4d4b42e4eefc5566817adab45e6ec9b43 100644 (file)
@@ -307,8 +307,6 @@ static struct crypto_instance *crypto_cts_alloc(struct rtattr **tb)
        inst->alg.cra_blkcipher.min_keysize = alg->cra_blkcipher.min_keysize;
        inst->alg.cra_blkcipher.max_keysize = alg->cra_blkcipher.max_keysize;
 
-       inst->alg.cra_blkcipher.geniv = "seqiv";
-
        inst->alg.cra_ctxsize = sizeof(struct crypto_cts_ctx);
 
        inst->alg.cra_init = crypto_cts_init_tfm;