@@ -80,8 +80,7 @@ static unsigned char PADDING[64] = {
80
80
(a) += (b); \
81
81
}
82
82
83
- void MD5Init (mdContext )
84
- MD5_CTX * mdContext ;
83
+ void MD5Init (MD5_CTX * mdContext )
85
84
{
86
85
mdContext -> i [0 ] = mdContext -> i [1 ] = (UINT4 )0 ;
87
86
@@ -93,10 +92,7 @@ MD5_CTX *mdContext;
93
92
mdContext -> buf [3 ] = (UINT4 )0x10325476 ;
94
93
}
95
94
96
- void MD5Update (mdContext , inBuf , inLen )
97
- MD5_CTX * mdContext ;
98
- const unsigned char * inBuf ;
99
- unsigned int inLen ;
95
+ void MD5Update (MD5_CTX * mdContext , const unsigned char * inBuf , unsigned int inLen )
100
96
{
101
97
UINT4 in [16 ];
102
98
int mdi ;
@@ -128,9 +124,7 @@ unsigned int inLen;
128
124
}
129
125
}
130
126
131
- void MD5Final (mdContext , buf )
132
- MD5_CTX * mdContext ;
133
- char * buf ;
127
+ void MD5Final (MD5_CTX * mdContext , char * buf )
134
128
{
135
129
UINT4 in [16 ];
136
130
int mdi ;
@@ -172,9 +166,7 @@ char *buf;
172
166
173
167
/* Print the context to the given buffer (32 digits)
174
168
*/
175
- void MD5Sprint (mdContext , buf )
176
- MD5_CTX * mdContext ;
177
- char * buf ;
169
+ void MD5Sprint (MD5_CTX * mdContext , char * buf )
178
170
{
179
171
int i ;
180
172
@@ -184,9 +176,7 @@ char *buf;
184
176
185
177
/* Basic MD5 step. Transform buf based on in.
186
178
*/
187
- static void Transform (buf , in )
188
- UINT4 * buf ;
189
- UINT4 * in ;
179
+ static void Transform (UINT4 * buf , UINT4 * in )
190
180
{
191
181
UINT4 a = buf [0 ], b = buf [1 ], c = buf [2 ], d = buf [3 ];
192
182
0 commit comments