Lines Matching defs:key
33 * key and verifies the result against the cipher value. Then decrypts
37 * Each key in gk[] should pass the keycheck and every key in bk[] should
50 char key[DES_KEY_SIZE * 2];
112 unsigned char key[DES3_KEY_SIZE];
131 getxdata(key, td[i].key, DES_KEY_SIZE);
132 bcopy(key, &key[8], DES_KEY_SIZE); /* K1=K2=K3 for test */
133 bcopy(key, &key[16], DES_KEY_SIZE);
134 des3_key(d3h, key);
169 unsigned char key[DES_KEY_SIZE * 3];
177 getxdata(key, gk[i].key1, DES_KEY_SIZE);
178 getxdata(&key[8], gk[i].key2, DES_KEY_SIZE);
179 getxdata(&key[16], gk[i].key3, DES_KEY_SIZE);
181 if (des3_keycheck(key)) {
192 getxdata(key, bk[i].key1, DES_KEY_SIZE);
193 getxdata(&key[8], bk[i].key2, DES_KEY_SIZE);
194 getxdata(&key[16], bk[i].key3, DES_KEY_SIZE);
196 if (!des3_keycheck(key)) {