Home | History | Annotate | Download | only in pppd

Lines Matching defs:des_key

53 MakeKey(key, des_key)
55 u_char *des_key; /* OUT 64 bit DES key with parity bits added */
57 des_key[0] = Get7Bits(key, 0);
58 des_key[1] = Get7Bits(key, 7);
59 des_key[2] = Get7Bits(key, 14);
60 des_key[3] = Get7Bits(key, 21);
61 des_key[4] = Get7Bits(key, 28);
62 des_key[5] = Get7Bits(key, 35);
63 des_key[6] = Get7Bits(key, 42);
64 des_key[7] = Get7Bits(key, 49);
67 des_set_odd_parity((des_cblock *)des_key);
116 u_char des_key[8];
119 MakeKey(key, des_key);
120 Expand(des_key, crypt_key);
167 des_cblock des_key;
168 MakeKey(key, des_key);
169 des_set_key(&des_key, key_schedule);