Lines Matching defs:key
33 converts the string pointed to by "data" into an encryption key
34 of type "enctype". *keyblock is filled in with the key info;
37 when the generated key no longer needed.
43 key of type "enctype", an error may be returned.
56 register krb5_octet *key;
72 key = keyblock->contents;
102 /* convert to des key */
106 /* init key array for bits */
120 /* get next input key byte */
140 /* now stuff into the key mit_des_cblock, and force odd parity */
142 k_p = (unsigned char *) key;
151 /* fix key parity */
152 mit_des_fixup_key_parity(key);
153 if (mit_des_is_weak_key(key))
154 ((krb5_octet *)key)[7] ^= 0xf0;
156 retval = mit_des_cbc_cksum(context, (unsigned char*)copystr, key,
157 length, keyblock, key);
163 /* now fix up key parity again */
164 mit_des_fixup_key_parity(key);
165 if (mit_des_is_weak_key(key))
166 ((krb5_octet *)key)[7] ^= 0xf0;
170 * in place we cannot use the PKCS#11 key object handle created earlier.
171 * Destroy the existing object handle associated with the key,
172 * a correct handle will get created when the key is actually