Displaying 1 result from an estimated 1 matches for "cred_hash1".
Did you mean:
cred_hash2
1997 Dec 11
0
cvs and smbdes.c
...smbhash(p16 , sp8, p14 );
}
void E_P24(unsigned char *p21, unsigned char *c8, unsigned char *p24)
{
smbhash(p24, c8, p21);
- smbhash(p24+8, c8, p21+7);
- smbhash(p24+16, c8, p21+14);
+ smbhash(p24 , c8, p21 );
+ smbhash(p24+8 , c8, p21+7 );
}
void cred_hash1(unsigned char *out,unsigned char *in,unsigned char *key)
-{
+void cred_hash1(unsigned char out[8],unsigned char in[8],unsigned char
pass[16])
unsigned char buf[8];
smbhash(buf, in, key);
- smbhash(out, buf, key+9);
-}
+ smbhash(buf, in , pass );
+ smbhash(out, bu...