Lines Matching refs:keys
289 * princ which has no keys initially.
292 /* have a princ with keys, return dupe princ error */
297 * have a princ with no keys, let's replace it. Note, want to
425 /* initialize the keys */
483 /* Record the master key VNO used to encrypt this entry's keys */
1013 * Purpose: Check if a key appears in a list of keys, in order to
1022 * new_key_data (r) keys to check against
1094 * key_data (r) keys to add to the history entry
1160 * adb (r/w) admin principal entry to add keys to
1162 * pw (r) keys for the password to add to adb's key history
1167 * pw contains n_key_data keys in its key_data, in storage should be
1221 * To avoid losing old keys, shift forward each entry after
1445 /* we are going to need the current keys after the new keys are set */
2136 * Return the list of keys like kadm5_randkey_principal,
2181 * number of keys decrypted.
2187 krb5_keyblock *keys;
2190 keys = (krb5_keyblock *) malloc(n_key_data*sizeof(krb5_keyblock));
2191 if (keys == NULL)
2193 memset(keys, 0, n_key_data*sizeof(krb5_keyblock));
2198 &keys[i], NULL);
2201 if (keys[i].contents) {
2202 memset (keys[i].contents, 0, keys[i].length);
2203 free( keys[i].contents );
2207 memset(keys, 0, n_key_data*sizeof(krb5_keyblock));
2208 free(keys);
2213 *keyblocks = keys;