Lines Matching refs:forw
182 static void dohash(char *out, char *in, char *key, int forw)
226 x_or(erk, er, ki[forw ? i : 15 - i], 48);
280 void des_crypt56(unsigned char *out, const unsigned char *in, const unsigned char *key, int forw)
296 dohash(outb, inb, keyb, forw);
356 /* Note that if the forw is 1, and key is actually 8 bytes of key, followed by 6 bytes of zeros,
359 void des_crypt112(unsigned char out[8], const unsigned char in[8], const unsigned char key[14], int forw)
362 des_crypt56(buf, in, key, forw);
363 des_crypt56(out, buf, key+7, forw);
366 void cred_hash3(unsigned char *out, const unsigned char *in, const unsigned char *key, int forw)
371 des_crypt56(out, in, key, forw);
373 des_crypt56(out + 8, in + 8, key2, forw);
380 void des_crypt112_16(unsigned char out[16], unsigned char in[16], const unsigned char key[14], int forw)
382 des_crypt56(out, in, key, forw);
383 des_crypt56(out + 8, in + 8, key+7, forw);
410 void sam_pwd_hash(unsigned int rid, const uchar *in, uchar *out, int forw)
419 des_crypt56(out, in, s, forw);
420 des_crypt56(out+8, in+8, s+7, forw);