mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Make MD5_Core_Init and MD5_Block (both only referenced in this file) static.
[originally from svn r2469]
This commit is contained in:
parent
f4e13ef19b
commit
089030b296
4
sshmd5.c
4
sshmd5.c
@ -19,7 +19,7 @@
|
|||||||
#define subround(f,w,x,y,z,k,s,ti) \
|
#define subround(f,w,x,y,z,k,s,ti) \
|
||||||
w = x + rol(w + f(x,y,z) + block[k] + ti, s)
|
w = x + rol(w + f(x,y,z) + block[k] + ti, s)
|
||||||
|
|
||||||
void MD5_Core_Init(MD5_Core_State * s)
|
static void MD5_Core_Init(MD5_Core_State * s)
|
||||||
{
|
{
|
||||||
s->h[0] = 0x67452301;
|
s->h[0] = 0x67452301;
|
||||||
s->h[1] = 0xefcdab89;
|
s->h[1] = 0xefcdab89;
|
||||||
@ -27,7 +27,7 @@ void MD5_Core_Init(MD5_Core_State * s)
|
|||||||
s->h[3] = 0x10325476;
|
s->h[3] = 0x10325476;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MD5_Block(MD5_Core_State * s, uint32 * block)
|
static void MD5_Block(MD5_Core_State * s, uint32 * block)
|
||||||
{
|
{
|
||||||
uint32 a, b, c, d;
|
uint32 a, b, c, d;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user