diff options
Diffstat (limited to 'smbdes.c')
-rw-r--r-- | smbdes.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -173,7 +173,7 @@ static void concat(char *out, char *in1, char *in2, int l1, int l2) *out++ = *in2++; } -static void xor(char *out, char *in1, char *in2, int n) +static void exor(char *out, char *in1, char *in2, int n) { int i; for (i=0;i<n;i++) @@ -224,7 +224,7 @@ static void dohash(char *out, char *in, char *key, int forw) permute(er, r, perm4, 48); - xor(erk, er, ki[forw ? i : 15 - i], 48); + exor(erk, er, ki[forw ? i : 15 - i], 48); for (j=0;j<8;j++) for (k=0;k<6;k++) @@ -245,7 +245,7 @@ static void dohash(char *out, char *in, char *key, int forw) cb[j*4+k] = b[j][k]; permute(pcb, cb, perm5, 32); - xor(r2, l, pcb, 32); + exor(r2, l, pcb, 32); for (j=0;j<32;j++) l[j] = r[j]; |