]> bbs.cooldavid.org Git - net-next-2.6.git/commit
crypto: gcm - Use GHASH digest algorithm
authorHuang Ying <ying.huang@intel.com>
Thu, 6 Aug 2009 05:34:26 +0000 (15:34 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Aug 2009 05:34:26 +0000 (15:34 +1000)
commit9382d97af586a47dad312765e35c61aa7ad7fcdd
tree2866deac562a3858b1aa686461c1c3ce16c46287
parent2cdc6899a88e2b9c6cb82ebd547bf58932d534df
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>
crypto/Kconfig
crypto/gcm.c