diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 20:29:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 20:29:57 +0800 |
commit | 7a63e897b210a4c3fa10022f5ced3cb1c0d72cc3 (patch) | |
tree | b3ff4bc33cd131b936fc44aa2febaabb10fb84c7 /crypto/shash.c | |
parent | ff2d9427ffe863112bedbe974358b1435871ac85 (diff) | |
download | linux-crypto-7a63e897b210a4c3fa10022f5ced3cb1c0d72cc3.tar.gz linux-crypto-7a63e897b210a4c3fa10022f5ced3cb1c0d72cc3.zip |
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 '')
-rw-r--r-- | crypto/shash.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/shash.c b/crypto/shash.c index 615a5f4d..fd92c03b 100644 --- a/crypto/shash.c +++ b/crypto/shash.c @@ -270,7 +270,6 @@ static void crypto_exit_shash_ops_async(struct crypto_tfm *tfm) int crypto_init_shash_ops_async(struct crypto_tfm *tfm) { struct crypto_alg *calg = tfm->__crt_alg; - struct shash_alg *alg = __crypto_shash_alg(calg); struct crypto_ahash *crt = __crypto_ahash_cast(tfm); struct crypto_shash **ctx = crypto_tfm_ctx(tfm); struct crypto_shash *shash; @@ -293,7 +292,6 @@ int crypto_init_shash_ops_async(struct crypto_tfm *tfm) crt->digest = shash_async_digest; crt->setkey = shash_async_setkey; - crt->digestsize = alg->digestsize; crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash); return 0; |