Lines Matching defs:key
52 /* IN 56 bit DES key missing parity bits
53 * OUT 64 bit DES key with parity bits added
55 void pppcrypt_56_to_64_bit_key(u_char *key, u_char * des_key) {
56 des_key[0] = pppcrypt_get_7bits(key, 0);
57 des_key[1] = pppcrypt_get_7bits(key, 7);
58 des_key[2] = pppcrypt_get_7bits(key, 14);
59 des_key[3] = pppcrypt_get_7bits(key, 21);
60 des_key[4] = pppcrypt_get_7bits(key, 28);
61 des_key[5] = pppcrypt_get_7bits(key, 35);
62 des_key[6] = pppcrypt_get_7bits(key, 42);
63 des_key[7] = pppcrypt_get_7bits(key, 49);