From: Herbert Xu Date: Fri, 16 Jan 2015 07:09:21 +0000 (+1100) Subject: crypto: cts - Remove bogus use of seqiv X-Git-Tag: Ubuntu-snapdragon-4.4.0-1029.32~7154^2~17 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0c5c8e646cd9832b5e307e541264e4ff7de85bd7;p=mirror_ubuntu-zesty-kernel.git crypto: cts - Remove bogus use of seqiv 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 Acked-by: Maciej ?enczykowski --- diff --git a/crypto/cts.c b/crypto/cts.c index bd9405820e8a..6a8089c4d4b4 100644 --- a/crypto/cts.c +++ b/crypto/cts.c @@ -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;