summaryrefslogtreecommitdiffstats
path: root/crypto/md4.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/md4.c')
-rw-r--r--crypto/md4.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/crypto/md4.c b/crypto/md4.c
index 3515af425cc9..810fefb0a007 100644
--- a/crypto/md4.c
+++ b/crypto/md4.c
@@ -64,23 +64,6 @@ static inline u32 H(u32 x, u32 y, u32 z)
64#define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) 64#define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s))
65#define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) 65#define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s))
66 66
67/* XXX: this stuff can be optimized */
68static inline void le32_to_cpu_array(u32 *buf, unsigned int words)
69{
70 while (words--) {
71 __le32_to_cpus(buf);
72 buf++;
73 }
74}
75
76static inline void cpu_to_le32_array(u32 *buf, unsigned int words)
77{
78 while (words--) {
79 __cpu_to_le32s(buf);
80 buf++;
81 }
82}
83
84static void md4_transform(u32 *hash, u32 const *in) 67static void md4_transform(u32 *hash, u32 const *in)
85{ 68{
86 u32 a, b, c, d; 69 u32 a, b, c, d;