diff options
author | Huang Ying <ying.huang@intel.com> | 2009-08-06 15:32:38 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-06 15:32:38 +1000 |
commit | b3ea9c732929699b3dc763f09754c8e9db7343fe (patch) | |
tree | a59afcab292af39be7b67744cb8c01d8b3e09256 /crypto/Kconfig | |
parent | 7ae9ab3570b30f7bee25cf6f7bfc09ea4a6a4889 (diff) | |
download | linux-crypto-b3ea9c732929699b3dc763f09754c8e9db7343fe.tar.gz linux-crypto-b3ea9c732929699b3dc763f09754c8e9db7343fe.zip |
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 f2002d8e..0ae170e0 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -290,6 +290,13 @@ config CRYPTO_CRC32C_INTEL gain performance compared with software implementation. Module will be crc32c-intel. +config CRYPTO_GHASH + tristate "GHASH digest algorithm" + select CRYPTO_SHASH + select CRYPTO_GF128MUL + help + GHASH is message digest algorithm for GCM (Galois/Counter Mode). + config CRYPTO_MD4 tristate "MD4 digest algorithm" select CRYPTO_HASH |