/external/openssh/regress/unittests/hostkeys/ |
D | test_iterate.c | 101 expected->l.keytype == KEY_RSA || in check() 102 expected->no_parse_keytype == KEY_RSA || in check() 161 case KEY_RSA: in prepare_expected() 246 KEY_RSA, 324 KEY_RSA, 402 KEY_RSA, 480 KEY_RSA, 628 KEY_RSA, 641 KEY_RSA, 654 KEY_RSA, [all …]
|
/external/openssh/regress/unittests/sshkey/ |
D | test_sshkey.c | 203 k1 = sshkey_new(KEY_RSA); in sshkey_tests() 235 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 128, &k1), in sshkey_tests() 241 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1 << 20, &k1), in sshkey_tests() 263 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 767, &kr), in sshkey_tests() 265 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &kr), 0); in sshkey_tests() 306 ASSERT_INT_EQ(k1->type, KEY_RSA); in sshkey_tests() 380 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &k1), 0); in sshkey_tests()
|
/external/openssh/ |
D | ssh-rsa.c | 118 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_complete_crt_parameters() 186 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_sign() 259 sshkey_type_plain(key->type) != KEY_RSA || in ssh_rsa_verify()
|
D | sshkey.c | 120 { "ssh-rsa", "RSA", NULL, KEY_RSA, 0, 0, 0 }, 121 { "rsa-sha2-256", "RSA", NULL, KEY_RSA, 0, 0, 1 }, 122 { "rsa-sha2-512", "RSA", NULL, KEY_RSA, 0, 0, 1 }, 324 case KEY_RSA: in sshkey_size() 357 case KEY_RSA: in sshkey_type_is_valid_ca() 398 return KEY_RSA; in sshkey_type_plain() 564 case KEY_RSA: in sshkey_new() 619 case KEY_RSA: in sshkey_free() 718 case KEY_RSA: in sshkey_equal_public() 865 case KEY_RSA: in to_blob_buf() [all …]
|
D | ssh-pkcs11-client.c | 133 key->type = KEY_RSA; in rsa_encrypt() 234 if (k->type == KEY_RSA) in wrap_key()
|
D | ssh-keygen.c | 200 case KEY_RSA: in type_bits_valid() 212 case KEY_RSA: in type_bits_valid() 281 case KEY_RSA: in ask_filename() 376 case KEY_RSA: in do_convert_to_pkcs8() 400 case KEY_RSA: in do_convert_to_pem() 513 ktype = KEY_RSA; in do_convert_private_ssh2() 542 case KEY_RSA: in do_convert_private_ssh2() 698 (*k)->type = KEY_RSA; in do_convert_from_pkcs8() 735 (*k)->type = KEY_RSA; in do_convert_from_pem() 786 case KEY_RSA: in do_convert_from() [all …]
|
D | authfd.c | 372 if (alg != NULL && sshkey_type_plain(key->type) == KEY_RSA) { in agent_encode_alg() 490 case KEY_RSA: in ssh_add_identity_constrained()
|
D | dns.c | 87 case KEY_RSA: in dns_read_key()
|
D | auth2-hostbased.c | 105 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_hostbased()
|
D | sshkey.h | 58 KEY_RSA, enumerator
|
D | authfile.c | 324 case KEY_RSA: in sshkey_load_private_cert()
|
D | serverloop.c | 782 use_kexsigtype = kexsigtype == KEY_RSA && in server_input_hostkeys_prove() 783 sshkey_type_plain(key->type) == KEY_RSA; in server_input_hostkeys_prove()
|
D | ssh-pkcs11-helper.c | 210 if (key->type == KEY_RSA) { in process_sign()
|
D | sshsig.c | 182 if (sshkey_type_plain(key->type) == KEY_RSA) in sshsig_wrap_sign() 354 if (sshkey_type_plain(key->type) == KEY_RSA) { in sshsig_wrap_verify()
|
D | ssh-pkcs11.c | 899 key->type = KEY_RSA; in pkcs11_fetch_rsa_pubkey() 1014 key->type = KEY_RSA; in pkcs11_fetch_x509_pubkey() 1714 case KEY_RSA: in pkcs11_gakp()
|
D | clientloop.c | 2035 use_kexsigtype = kexsigtype == KEY_RSA && in client_global_hostkeys_private_confirm() 2036 sshkey_type_plain(ctx->keys[i]->type) == KEY_RSA; in client_global_hostkeys_private_confirm() 2075 if (key->type == KEY_RSA && in key_accepted_by_hostkeyalgs()
|
D | sshconnect2.c | 1130 (key->type != KEY_RSA && key->type != KEY_RSA_CERT) || in key_sig_algorithm() 1529 case KEY_RSA: in key_type_allowed_by_config() 1749 if (sshkey_type_plain(id->key->type) == KEY_RSA && in try_identity()
|
D | ssh-keyscan.c | 741 case KEY_RSA: in main()
|
D | sshd.c | 634 case KEY_RSA: 1837 case KEY_RSA:
|
D | auth2-pubkey.c | 144 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_pubkey()
|
D | sshconnect.c | 1309 KEY_RSA, in show_other_keys()
|
D | ssh-agent.c | 271 if (key->type == KEY_RSA) { in agent_decode_alg()
|
D | monitor.c | 1179 if (sshkey_type_plain(key->type) == KEY_RSA && in mm_answer_keyallowed()
|
/external/openssh/regress/misc/fuzz-harness/ |
D | sig_fuzz.cc | 28 static struct sshkey *rsa = generate_or_die(KEY_RSA, 2048); in LLVMFuzzerTestOneInput()
|
/external/openssh/regress/unittests/kex/ |
D | test_kex.c | 181 do_kex_with_key(kex, KEY_RSA, 2048); in do_kex()
|