aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-01-26 18:05:15 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2007-02-06 17:21:00 -0500
commitf1ddcaf3393b7a3871809b97fae90fac841a1f39 (patch)
treeed73db33ec9160ecafee9b8a12ba369f98fd21e0 /crypto/digest.c
parentba8da2a9485f22455dcb06dd17e2f6d94b81ba89 (diff)
[CRYPTO] api: Remove deprecated interface
This patch removes the old cipher interface and related code. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/digest.c')
-rw-r--r--crypto/digest.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index bc47af648cb1..1bf7414aeb9e 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -136,11 +136,6 @@ static int digest(struct hash_desc *desc,
136 return final(desc, out); 136 return final(desc, out);
137} 137}
138 138
139int crypto_init_digest_flags(struct crypto_tfm *tfm, u32 flags)
140{
141 return flags ? -EINVAL : 0;
142}
143
144int crypto_init_digest_ops(struct crypto_tfm *tfm) 139int crypto_init_digest_ops(struct crypto_tfm *tfm)
145{ 140{
146 struct hash_tfm *ops = &tfm->crt_hash; 141 struct hash_tfm *ops = &tfm->crt_hash;