diff options
author | Huang Ying <ying.huang@intel.com> | 2009-08-06 01:32:38 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-06 01:32:38 -0400 |
commit | 2cdc6899a88e2b9c6cb82ebd547bf58932d534df (patch) | |
tree | 37b4c093970fe8f5288cef9150f9d03b26c3b92b /crypto/Kconfig | |
parent | cbdcf80d8b9486ddb699a044c6f87f25821708cb (diff) |
crypto: ghash - Add GHASH digest algorithm for GCM
GHASH is implemented as a shash algorithm. The actual implementation
is copied from gcm.c. This makes it possible to add
architecture/hardware accelerated GHASH implementation.
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index f2002d8e5f67..0ae170e01051 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -290,6 +290,13 @@ config CRYPTO_CRC32C_INTEL | |||
290 | gain performance compared with software implementation. | 290 | gain performance compared with software implementation. |
291 | Module will be crc32c-intel. | 291 | Module will be crc32c-intel. |
292 | 292 | ||
293 | config CRYPTO_GHASH | ||
294 | tristate "GHASH digest algorithm" | ||
295 | select CRYPTO_SHASH | ||
296 | select CRYPTO_GF128MUL | ||
297 | help | ||
298 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). | ||
299 | |||
293 | config CRYPTO_MD4 | 300 | config CRYPTO_MD4 |
294 | tristate "MD4 digest algorithm" | 301 | tristate "MD4 digest algorithm" |
295 | select CRYPTO_HASH | 302 | select CRYPTO_HASH |