summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2013-10-30 09:51:45 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2013-10-30 09:51:45 +0800
commitab5ced1a020698c2974f94c572a723e580739189 (patch)
tree115d261ab7bcb74856fa47f129ee9513b17ae23f /crypto/Makefile
parent722418750d870ea320d4d520f0bb71ec7a64b694 (diff)
downloadlinux-crypto-ab5ced1a020698c2974f94c572a723e580739189.tar.gz
linux-crypto-ab5ced1a020698c2974f94c572a723e580739189.zip
crypto: skcipher - Use eseqiv even on UP machines
Previously we would use eseqiv on all async ciphers in all cases, and sync ciphers if we have more than one CPU. This meant that chainiv is only used in the case of sync ciphers on a UP machine. As chainiv may aid attackers by making the IV predictable, even though this risk itself is small, the above usage pattern causes it to further leak information about the host. This patch addresses these issues by using eseqiv even if we're on a UP machine. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Steffen Klassert <steffen.klassert@secunet.com> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions