Skip to content

Commit

Permalink
crypto: gcm - Use GHASH digest algorithm
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
yhuang-intel authored and herbertx committed Aug 6, 2009
1 parent 2cdc689 commit 9382d97
Show file tree
Hide file tree
Showing 2 changed files with 408 additions and 174 deletions.
2 changes: 1 addition & 1 deletion crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading

0 comments on commit 9382d97

Please sign in to comment.