aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-08-20 01:25:22 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-20 21:46:20 -0400
commit8425165dfed27945e8509c141cea245d1739e372 (patch)
treec2a05344993a52bb317bb320a97d0566f3d277bf /include/linux/crypto.h
parent878b9014666217555d16073764f30e825cf18d2f (diff)
[CRYPTO] digest: Remove old HMAC implementation
This patch removes the old HMAC implementation now that nobody uses it anymore. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 40c0aab8ad4c..929fb9ad1314 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -295,9 +295,6 @@ struct hash_tfm {
295 unsigned int nsg, u8 *out); 295 unsigned int nsg, u8 *out);
296 int (*setkey)(struct crypto_hash *tfm, const u8 *key, 296 int (*setkey)(struct crypto_hash *tfm, const u8 *key,
297 unsigned int keylen); 297 unsigned int keylen);
298#ifdef CONFIG_CRYPTO_HMAC
299 void *hmac_block;
300#endif
301 unsigned int digestsize; 298 unsigned int digestsize;
302}; 299};
303 300
@@ -872,18 +869,5 @@ static inline int crypto_comp_decompress(struct crypto_tfm *tfm,
872 return tfm->crt_compress.cot_decompress(tfm, src, slen, dst, dlen); 869 return tfm->crt_compress.cot_decompress(tfm, src, slen, dst, dlen);
873} 870}
874 871
875/*
876 * HMAC support.
877 */
878#ifdef CONFIG_CRYPTO_HMAC
879void crypto_hmac_init(struct crypto_tfm *tfm, u8 *key, unsigned int *keylen);
880void crypto_hmac_update(struct crypto_tfm *tfm,
881 struct scatterlist *sg, unsigned int nsg);
882void crypto_hmac_final(struct crypto_tfm *tfm, u8 *key,
883 unsigned int *keylen, u8 *out);
884void crypto_hmac(struct crypto_tfm *tfm, u8 *key, unsigned int *keylen,
885 struct scatterlist *sg, unsigned int nsg, u8 *out);
886#endif /* CONFIG_CRYPTO_HMAC */
887
888#endif /* _LINUX_CRYPTO_H */ 872#endif /* _LINUX_CRYPTO_H */
889 873