crypto: crypto4xx - Switch to new style ahash
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jul 2009 12:21:46 +0000 (20:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jul 2009 12:21:46 +0000 (20:21 +0800)
commit4dc10c0142ce0af8c20ec44dc6928ae63ad4f73a
tree0554a3c5210e86f0cf4ada5b370f500f687d3514
parent0b535adfb102bac1edb046444172b6b77d99bc92
crypto: crypto4xx - Switch to new style ahash

This patch changes crypto4xx to use the new style ahash type.
In particular, we now use ahash_alg to define ahash algorithms
instead of crypto_alg.

This is achieved by introducing a union that encapsulates the
new type and the existing crypto_alg structure.  They're told
apart through a u32 field containing the type value.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_core.h
include/crypto/internal/hash.h