diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-14 22:55:35 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-14 22:58:18 +1000 |
commit | 63b5ac286d5d7f668da537cc53a552578f7674a2 (patch) | |
tree | 54fe504dd6df1a856c8c75ad338749cdd3820fc1 /crypto/arc4.c | |
parent | aef27136b8b5e526f2e96ca1caa30a6d07e70f42 (diff) | |
download | op-kernel-dev-63b5ac286d5d7f668da537cc53a552578f7674a2.zip op-kernel-dev-63b5ac286d5d7f668da537cc53a552578f7674a2.tar.gz |
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/arc4.c')
0 files changed, 0 insertions, 0 deletions