Lines Matching defs:key
49 krb5_keyblock *key)
85 * Dense key space, no parity bits or anything, so take a shortcut
86 * and use the key contents buffer for the generated bytes.
89 if (key->length != 16 && key->length != 32)
91 out.data = (char *) key->contents;
92 out.length = key->length;
94 err = krb5int_pbkdf2_hmac_sha1 (context, &out, iter_count, key->enctype,
103 * The derive key operation below will not work correctly
104 * if the input and output key pointers are to the same
105 * data. This is because the key object handle (PKCS#11)
106 * gets out-of-sync with the original key when the contents
107 * are modified. We copy the original key here for use
108 * below in the derive_key step, then we free this key
111 err = krb5_copy_keyblock(context, key, &inkey);
117 err = krb5_derive_key (context, enc, inkey, key, &usage);