summaryrefslogtreecommitdiff
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-07-07 20:54:35 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 20:35:18 +0800
commit1731228ac6792c28eab91c054501b4876a2f580e (patch)
treec019138b6b2995ed814cfab6557bc4a514a38822 /crypto/ahash.c
parenta8f41298907a53f66b8169977d520bcd2d7d26e1 (diff)
downloadlinux-crypto-1731228ac6792c28eab91c054501b4876a2f580e.tar.gz
linux-crypto-1731228ac6792c28eab91c054501b4876a2f580e.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 '')
-rw-r--r--crypto/ahash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c
index 8c1f918a..e6e5906c 100644
--- a/crypto/ahash.c
+++ b/crypto/ahash.c
@@ -76,7 +76,6 @@ static int crypto_init_ahash_ops(struct crypto_tfm *tfm, u32 type, u32 mask)
crt->final = alg->final;
crt->digest = alg->digest;
crt->setkey = ahash_setkey;
- crt->base = __crypto_ahash_cast(tfm);
crt->digestsize = alg->digestsize;
return 0;