summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-16 15:18:57 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-24 22:02:56 +0800
commit3c7eb3cc8360736123a3139a1ec727d746de3252 (patch)
treec7074e56c6661aaef4d6b3cbe06fa500ccce485e /include/linux
parentfdb2726f4e61c5e3abc052f547d5a5f6c0dc5504 (diff)
downloadlinux-stable-3c7eb3cc8360736123a3139a1ec727d746de3252.tar.gz
linux-stable-3c7eb3cc8360736123a3139a1ec727d746de3252.tar.bz2
linux-stable-3c7eb3cc8360736123a3139a1ec727d746de3252.zip
md5: remove from lib and only live in crypto
The md5_transform function is no longer used any where in the tree, except for the crypto api's actual implementation of md5, so we can drop the function from lib and put it as a static function of the crypto file, where it belongs. There should be no new users of md5_transform, anyway, since there are more modern ways of doing what it once achieved. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cryptohash.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/cryptohash.h b/include/linux/cryptohash.h
index 3252799832cf..df4d3e943d28 100644
--- a/include/linux/cryptohash.h
+++ b/include/linux/cryptohash.h
@@ -10,9 +10,4 @@
void sha_init(__u32 *buf);
void sha_transform(__u32 *digest, const char *data, __u32 *W);
-#define MD5_DIGEST_WORDS 4
-#define MD5_MESSAGE_BYTES 64
-
-void md5_transform(__u32 *hash, __u32 const *in);
-
#endif