Lines Matching defs:des_key
97 MakeKey(u_char *key, u_char *des_key)
99 des_key[0] = Get7Bits(key, 0);
100 des_key[1] = Get7Bits(key, 7);
101 des_key[2] = Get7Bits(key, 14);
102 des_key[3] = Get7Bits(key, 21);
103 des_key[4] = Get7Bits(key, 28);
104 des_key[5] = Get7Bits(key, 35);
105 des_key[6] = Get7Bits(key, 42);
106 des_key[7] = Get7Bits(key, 49);
108 DES_set_odd_parity((DES_cblock *)des_key);
114 DES_cblock des_key;
117 MakeKey(key, des_key);
118 DES_set_key(&des_key, &key_schedule);