summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2009-08-06 15:34:26 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2009-08-06 15:34:26 +1000
commit741bbfc73a05f9eb6708a99c3158613f9c016039 (patch)
tree75345ba3af2f259e6372857175e1b82d2cc7e85b /crypto/Kconfig
parentb3ea9c732929699b3dc763f09754c8e9db7343fe (diff)
downloadlinux-crypto-741bbfc73a05f9eb6708a99c3158613f9c016039.tar.gz
linux-crypto-741bbfc73a05f9eb6708a99c3158613f9c016039.zip
crypto: gcm - Use GHASH digest algorithm
Remove the dedicated GHASH implementation in GCM, and uses the GHASH digest algorithm instead. This will make GCM uses hardware accelerated GHASH implementation automatically if available. ahash instead of shash interface is used, because some hardware accelerated GHASH implementation needs asynchronous interface. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 0ae170e0..5105cf15 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -157,7 +157,7 @@ config CRYPTO_GCM
tristate "GCM/GMAC support"
select CRYPTO_CTR
select CRYPTO_AEAD
- select CRYPTO_GF128MUL
+ select CRYPTO_GHASH
help
Support for Galois/Counter Mode (GCM) and Galois Message
Authentication Code (GMAC). Required for IPSec.