summaryrefslogtreecommitdiff
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-08-14 22:55:35 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2009-08-14 22:58:18 +1000
commitb3146c3e86a27991b00fe36685f0493888b939b6 (patch)
treef7e5b070f4ae62edbc7547c0ad77e05a9b95ecbd /crypto/scatterwalk.c
parenta67f6758b9cc059c6b22edccd2a6c5790e516c8b (diff)
downloadlinux-crypto-b3146c3e86a27991b00fe36685f0493888b939b6.tar.gz
linux-crypto-b3146c3e86a27991b00fe36685f0493888b939b6.zip
crypto: blkcipher - Do not use eseqiv on stream ciphers
Recently we switched to using eseqiv on SMP machines in preference over chainiv. However, eseqiv does not support stream ciphers so they should still default to chainiv. This patch applies the same check as done by eseqiv to weed out the stream ciphers. In particular, all algorithms where the IV size is not equal to the block size will now default to chainiv. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions