projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crypto: Move md5_transform to lib/md5.c, CVE-2011-3188
[linux-flexiantxendom0-natty.git]
/
include
/
linux
/
cryptohash.h
diff --git
a/include/linux/cryptohash.h
b/include/linux/cryptohash.h
index
ec78a4b
..
d2984fb
100644
(file)
--- a/
include/linux/cryptohash.h
+++ b/
include/linux/cryptohash.h
@@
-8,6
+8,11
@@
void sha_init(__u32 *buf);
void sha_transform(__u32 *digest, const char *data, __u32 *W);
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);
+
__u32 half_md4_transform(__u32 buf[4], __u32 const in[8]);
#endif
__u32 half_md4_transform(__u32 buf[4], __u32 const in[8]);
#endif