diff options
author | Huang Ying <ying.huang@intel.com> | 2009-08-06 01:34:26 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-06 01:34:26 -0400 |
commit | 9382d97af586a47dad312765e35c61aa7ad7fcdd (patch) | |
tree | 2866deac562a3858b1aa686461c1c3ce16c46287 /crypto/Kconfig | |
parent | 2cdc6899a88e2b9c6cb82ebd547bf58932d534df (diff) |
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/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 0ae170e01051..5105cf15834f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -157,7 +157,7 @@ config CRYPTO_GCM | |||
157 | tristate "GCM/GMAC support" | 157 | tristate "GCM/GMAC support" |
158 | select CRYPTO_CTR | 158 | select CRYPTO_CTR |
159 | select CRYPTO_AEAD | 159 | select CRYPTO_AEAD |
160 | select CRYPTO_GF128MUL | 160 | select CRYPTO_GHASH |
161 | help | 161 | help |
162 | Support for Galois/Counter Mode (GCM) and Galois Message | 162 | Support for Galois/Counter Mode (GCM) and Galois Message |
163 | Authentication Code (GMAC). Required for IPSec. | 163 | Authentication Code (GMAC). Required for IPSec. |