aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
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