Home
last modified time | relevance | path

Searched refs:KEY_RSA1 (Results 1 – 18 of 18) sorted by relevance

/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c94 if (parse_key && (expected->l.keytype == KEY_RSA1 || in check()
95 expected->no_parse_keytype == KEY_RSA1)) { in check()
154 if (expected[i].l.keytype == KEY_RSA1) in prepare_expected()
229 KEY_RSA1,
320 KEY_RSA1,
411 KEY_RSA1,
502 KEY_RSA1,
663 KEY_RSA1,
676 KEY_RSA1,
689 KEY_RSA1,
[all …]
/external/openssh/
Dsshconnect1.c271 private = key_load_private_type(KEY_RSA1, authfile, "", NULL, in try_rsa_authentication()
279 private = key_load_private_type(KEY_RSA1, in try_rsa_authentication()
523 if ((server_key = key_new(KEY_RSA1)) == NULL) in ssh_kex()
536 if ((host_key = key_new(KEY_RSA1)) == NULL) in ssh_kex()
726 sensitive->keys[i]->type == KEY_RSA1 && in ssh_userauth1()
746 options.identity_keys[i]->type == KEY_RSA1 && in ssh_userauth1()
Dhostfile.c349 int proto = (k ? k->type : keytype) == KEY_RSA1 ? 1 : 2; in check_hostkeys_by_key_or_type()
355 if (proto == 1 && hostkeys->entries[i].key->type != KEY_RSA1) in check_hostkeys_by_key_or_type()
357 if (proto == 2 && hostkeys->entries[i].key->type == KEY_RSA1) in check_hostkeys_by_key_or_type()
495 if (l->key->type == KEY_RSA1) { in host_delete()
794 lineinfo.key = sshkey_new(KEY_RSA1); in hostkeys_foreach()
825 lineinfo.keytype = KEY_RSA1; in hostkeys_foreach()
Dauthfd.c211 if ((key = sshkey_new(KEY_RSA1)) == NULL) in deserialise_identity1()
397 if (key->type != KEY_RSA1) in ssh_decrypt_challenge()
565 case KEY_RSA1: in ssh_add_identity_constrained()
624 if (key->type == KEY_RSA1) { in ssh_remove_identity()
Dsshkey.c93 { NULL, "RSA1", KEY_RSA1, 0, 0, 0 },
241 if (type == KEY_RSA1) { in sshkey_names_valid2()
253 if (kt->type == KEY_RSA1) in sshkey_names_valid2()
275 case KEY_RSA1: in sshkey_size()
478 case KEY_RSA1: in sshkey_new()
536 case KEY_RSA1: in sshkey_add_private()
592 case KEY_RSA1: in sshkey_free()
670 case KEY_RSA1: in sshkey_equal_public()
888 if (k->type == KEY_RSA1) { in sshkey_fingerprint_raw()
1250 case KEY_RSA1: in sshkey_read()
[all …]
Dssh-agent.c259 if (id->key->type == KEY_RSA1) { in process_request_identities()
308 if ((key = sshkey_new(KEY_RSA1)) == NULL) in process_authentication_challenge1()
458 if ((key = sshkey_new(KEY_RSA1)) == NULL) { in process_remove_identity()
570 if ((k = sshkey_new_private(KEY_RSA1)) == NULL) in agent_decode_rsa1()
797 version = k->type == KEY_RSA1 ? 1 : 2; in process_add_smartcard_key()
Dsshkey.h56 KEY_RSA1, enumerator
Dssh-keygen.c240 case KEY_RSA1: in ask_filename()
314 if (k->type == KEY_RSA1) in do_convert_to_ssh2()
337 case KEY_RSA1: in do_convert_to_pkcs8()
362 case KEY_RSA1: in do_convert_to_pem()
819 if ((ret = sshkey_new(KEY_RSA1)) == NULL) in try_read_key()
1439 if (private->type != KEY_RSA1 && private->type != KEY_ED25519 && in do_change_comment()
Dssh-keyscan.c200 if ((rsa = sshkey_new(KEY_RSA1)) == NULL) { in keygrab_ssh1()
760 case KEY_RSA1: in main()
Dauthfile.c393 if ((pub = sshkey_new(KEY_RSA1)) == NULL) in sshkey_load_public()
Dsshconnect2.c1320 if (key && key->type == KEY_RSA1) in pubkey_prepare()
1474 return (id->key->type != KEY_RSA1); in try_identity()
1758 authctxt->sensitive->keys[i]->type == KEY_RSA1 || in userauth_hostbased()
Dsshd.c1688 if ((pubkey != NULL && pubkey->type == KEY_RSA1) ||
1689 (key != NULL && key->type == KEY_RSA1)) {
Dsshconnect.c1418 KEY_RSA1, in show_other_keys()
Dssh.c1305 sensitive_data.keys[0] = key_load_private_type(KEY_RSA1, in main()
Dclientloop.c2230 l->key->type == KEY_RSA1) in hostkeys_find()
DChangeLog9171 now correctly identify KEY_RSA1 keys; ok markus@ miod@
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c421 if (key == NULL || key->type == KEY_UNSPEC || key->type == KEY_RSA1) in main()
/external/openssh/regress/unittests/sshkey/
Dtest_sshkey.c197 k1 = sshkey_new(KEY_RSA1); in sshkey_tests()