summaryrefslogtreecommitdiffstats
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-01-16 19:38:17 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-01-20 14:44:15 +1100
commit988dc0174411ad4b98c173f3d7d25aca9e56cd85 (patch)
tree0643382e2d446d1bc46808f569a0e0ec301d2d3a /crypto/cipher.c
parent3eda71676bd9d396775c41a8b0f91357b1302cd5 (diff)
downloadlinux-988dc0174411ad4b98c173f3d7d25aca9e56cd85.tar.bz2
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>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions