Skip to content

Commit

Permalink
crypto: cts - Remove bogus use of seqiv
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Maciej ?enczykowski <[email protected]>
  • Loading branch information
herbertx committed Jan 20, 2015
1 parent b2c3f7c commit 0c5c8e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crypto/cts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c5c8e6

Please sign in to comment.