summaryrefslogtreecommitdiff
path: root/crypto/blkcipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-06-25 18:43:48 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-06-25 18:43:48 +0800
commit640bb628bcc9199d043d2d25ea6cdfa420ec9802 (patch)
tree960524ee407f2c5f813a435bb517b9ffd7bc3cc2 /crypto/blkcipher.c
parentc91b102c4960baa54478289e65ab8551d84bcdee (diff)
downloadlinux-crypto-640bb628bcc9199d043d2d25ea6cdfa420ec9802.tar.gz
linux-crypto-640bb628bcc9199d043d2d25ea6cdfa420ec9802.zip
crypto: skcipher - Change default sync geniv on SMP to eseqiv
As it stands we use chainiv for sync algorithms and eseqiv for async algorithms. However, when there is more than one CPU chainiv forces all processing to be serialised which is usually not what you want. Also, the added overhead of eseqiv isn't that great. Therefore this patch changes the default sync geniv on SMP machines to eseqiv. For the odd situation where the overhead is unacceptable then chainiv is still available as an option. Note that on UP machines chainiv is still preferred over eseqiv for sync algorithms. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blkcipher.c')
0 files changed, 0 insertions, 0 deletions