aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/hash.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-14 20:29:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-14 20:29:57 +0800
commit500b3e3c3dc8e4845b77ae81e5b7b085ab183ce6 (patch)
tree0cd5ceeab5a085ba017e535b8a232780c0850aaf /include/crypto/hash.h
parent4dc10c0142ce0af8c20ec44dc6928ae63ad4f73a (diff)
downloadkernel_samsung_tuna-500b3e3c3dc8e4845b77ae81e5b7b085ab183ce6.zip
kernel_samsung_tuna-500b3e3c3dc8e4845b77ae81e5b7b085ab183ce6.tar.gz
kernel_samsung_tuna-500b3e3c3dc8e4845b77ae81e5b7b085ab183ce6.tar.bz2
crypto: ahash - Remove old_ahash_alg
Now that all ahash implementations have been converted to the new ahash type, we can remove old_ahash_alg and its associated support. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/hash.h')
-rw-r--r--include/crypto/hash.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/crypto/hash.h b/include/crypto/hash.h
index 262861d..45c2bdd 100644
--- a/include/crypto/hash.h
+++ b/include/crypto/hash.h
@@ -89,7 +89,6 @@ struct crypto_ahash {
int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
unsigned int keylen);
- unsigned int digestsize;
unsigned int reqsize;
struct crypto_tfm base;
};
@@ -137,7 +136,7 @@ static inline struct hash_alg_common *crypto_hash_alg_common(
static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm)
{
- return tfm->digestsize;
+ return crypto_hash_alg_common(tfm)->digestsize;
}
static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm)