Displaying 1 result from an estimated 1 matches for "cred_hash2".
Did you mean:
cred_hash1
1997 Dec 11
0
cvs and smbdes.c
...,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, buf, pass+9);
void cred_hash2(unsigned char *out,unsigned char *in,unsigned char *key)
-{
+void cred_hash2(unsigned char out[8], unsigned char in[8], unsigned char
key[16])
unsigned char buf[8];
static unsigned char key2[8];
-
smbhash(buf, in, key);
- key2[0] = key[7];
- smbhash(out, buf, key...