summaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-07-07 14:54:35 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 14:35:18 +0200
commit166247f46a9c866e6f7f7d2212be875fb82212a1 (patch)
tree54818c04ba4224b1a3d717f0dbf62456bb32deaa /crypto/digest.c
parentcrypto: hash - Fixed digest size check (diff)
downloadlinux-166247f46a9c866e6f7f7d2212be875fb82212a1.tar.xz
linux-166247f46a9c866e6f7f7d2212be875fb82212a1.zip
crypto: hash - Removed vestigial ahash fields
The base field in ahash_tfm appears to have been cut-n-pasted from ablkcipher. It isn't needed here at all. Similarly, the info field in ahash_request also appears to have originated from its cipher counter-part and is vestigial. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/digest.c')
-rw-r--r--crypto/digest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index d63d5d96feec..bf332982c50d 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -234,7 +234,6 @@ int crypto_init_digest_ops_async(struct crypto_tfm *tfm)
crt->setkey = dalg->dia_setkey ? digest_async_setkey :
digest_async_nosetkey;
crt->digestsize = dalg->dia_digestsize;
- crt->base = __crypto_ahash_cast(tfm);
return 0;
}