Home | History | Annotate | Download | only in openssh

Lines Matching defs:ac

99 delete_file(AuthenticationConnection *ac, const char *filename)
110 if (ssh_remove_identity(ac, public)) {
124 delete_all(AuthenticationConnection *ac)
128 if (ssh_remove_all_identities(ac, 1))
131 ssh_remove_all_identities(ac, 2);
142 add_file(AuthenticationConnection *ac, const char *filename)
208 if (ssh_add_identity_constrained(ac, private, comment, lifetime,
244 if (!ssh_add_identity_constrained(ac, private, comment,
264 update_card(AuthenticationConnection *ac, int add, const char *id)
273 if (ssh_update_card(ac, add, id, pin, lifetime, confirm)) {
287 list_identities(AuthenticationConnection *ac, int do_fp)
295 for (key = ssh_get_first_identity(ac, &comment, version);
297 key = ssh_get_next_identity(ac, &comment, version)) {
322 lock_agent(AuthenticationConnection *ac, int lock)
339 if (passok && ssh_lock_agent(ac, lock, p1)) {
350 do_file(AuthenticationConnection *ac, int deleting, char *file)
353 if (delete_file(ac, file) == -1)
356 if (add_file(ac, file) == -1)
384 AuthenticationConnection *ac = NULL;
397 ac = ssh_get_authentication_connection();
398 if (ac == NULL) {
407 if (list_identities(ac, ch == 'l' ? 1 : 0) == -1)
412 if (lock_agent(ac, ch == 'x' ? 1 : 0) == -1)
422 if (delete_all(ac) == -1)
448 if (update_card(ac, !deleting, pkcs11provider) == -1)
470 if (do_file(ac, deleting, buf) == -1)
479 if (do_file(ac, deleting, argv[i]) == -1)
486 ssh_close_authentication_connection(ac);