]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: cts - Weed out non-CBC algorithms
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Jan 2015 08:38:17 +0000 (19:38 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jan 2015 03:44:15 +0000 (14:44 +1100)
commit2722c1b56a1f4c90b47abde66b8743d95dd7a6e5
tree0643382e2d446d1bc46808f569a0e0ec301d2d3a
parent7f0ad5c8079afd6bf147b3ce59d213d7e99df6e1
crypto: cts - Weed out non-CBC algorithms

The cts algorithm as currently implemented assumes the underlying
is a CBC-mode algorithm.  So this patch adds a check for that to
eliminate bogus combinations of cts with non-CBC modes.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cts.c