summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-04-07 16:43:41 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-25 21:01:46 +0800
commit9489667d3e3d39ba452037585e48a89ce44ccbfe (patch)
tree130eaf3e4184eea42dc5f5ff409cf0b4f76fa76e /crypto/Kconfig
parentb149a30d87d165e1079163fdab6f14e48b2f57b2 (diff)
downloadlinux-9489667d3e3d39ba452037585e48a89ce44ccbfe.tar.bz2
crypto: gcm - make GMAC work when dst and src are different
The GMAC code assumes that dst==src, which causes problems when trying to add rfc4543(gcm(aes)) test vectors. So fix this code to work when source and destination buffer are different. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index a654b13ae004..6cc27f111551 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -198,6 +198,7 @@ config CRYPTO_GCM
select CRYPTO_CTR
select CRYPTO_AEAD
select CRYPTO_GHASH
+ select CRYPTO_NULL
help
Support for Galois/Counter Mode (GCM) and Galois Message
Authentication Code (GMAC). Required for IPSec.