Lines Matching refs:key
35 converts the string pointed to by "data" into an encryption key
36 of type "enctype". *keyblock is filled in with the key info;
39 when the generated key no longer needed.
45 key of type "enctype", an error may be returned.
59 register krb5_octet *key;
75 key = keyblock->contents;
105 /* convert to des key */
109 /* init key array for bits */
123 /* get next input key byte */
143 /* now stuff into the key mit_des_cblock, and force odd parity */
145 k_p = (unsigned char *) key;
154 /* fix key parity */
155 mit_des_fixup_key_parity(key);
156 if (mit_des_is_weak_key(key))
157 ((krb5_octet *)key)[7] ^= 0xf0;
159 retval = mit_des_cbc_cksum(context, (unsigned char*)copystr, key,
160 length, keyblock, key);
166 /* now fix up key parity again */
167 mit_des_fixup_key_parity(key);
168 if (mit_des_is_weak_key(key))
169 ((krb5_octet *)key)[7] ^= 0xf0;
173 * in place we cannot use the PKCS#11 key object handle created earlier.
174 * Destroy the existing object handle associated with the key,
175 * a correct handle will get created when the key is actually