Lines Matching defs:keys
193 /* Prefer algorithms that we already have keys for */
248 char *filename; /* comment for agent-only keys */
263 Idlist keys;
599 * search keys in the reverse order, because last candidate has been
601 * duplicate keys
603 TAILQ_FOREACH_REVERSE(id, &authctxt->keys, idlist, next) {
1354 * try keys in the following order:
1355 * 1. agent keys that are found in the config file
1356 * 2. other agent keys
1357 * 3. keys that are only listed in the config file
1369 TAILQ_INIT(&agent); /* keys from the agent */
1370 TAILQ_INIT(&files); /* keys from the config file */
1371 preferred = &authctxt->keys;
1372 TAILQ_INIT(preferred); /* preferred order of keys */
1374 /* list of keys stored in the filesystem */
1387 /* list of keys supported by the agent */
1394 /* agent keys from the config file are preferred */
1413 /* append remaining agent keys */
1420 /* append remaining keys from the config file */
1437 for (id = TAILQ_FIRST(&authctxt->keys); id;
1438 id = TAILQ_FIRST(&authctxt->keys)) {
1439 TAILQ_REMOVE(&authctxt->keys, id, next);
1454 while ((id = TAILQ_FIRST(&authctxt->keys))) {
1458 TAILQ_REMOVE(&authctxt->keys, id, next);
1459 TAILQ_INSERT_TAIL(&authctxt->keys, id, next);
1462 * encrypted keys we cannot do this and have to load the
1664 private = sensitive->keys[i];
1668 sensitive->keys[i] = NULL;