| /freebsd-13.1/crypto/openssh/regress/unittests/hostkeys/ |
| H A 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() 250 KEY_RSA, 334 KEY_RSA, 418 KEY_RSA, 502 KEY_RSA, 661 KEY_RSA, 675 KEY_RSA, 689 KEY_RSA, [all …]
|
| /freebsd-13.1/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_sshkey.c | 205 k1 = sshkey_new(KEY_RSA); in sshkey_tests() 237 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 128, &k1), in sshkey_tests() 243 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1 << 20, &k1), in sshkey_tests() 265 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 767, &kr), in sshkey_tests() 267 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &kr), 0); in sshkey_tests() 308 ASSERT_INT_EQ(k1->type, KEY_RSA); in sshkey_tests() 382 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &k1), 0); in sshkey_tests()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | ssh-rsa.c | 118 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_complete_crt_parameters() 184 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_sign() 257 sshkey_type_plain(key->type) != KEY_RSA || in ssh_rsa_verify()
|
| H A D | sshkey.c | 326 case KEY_RSA: in sshkey_size() 359 case KEY_RSA: in sshkey_type_is_valid_ca() 566 case KEY_RSA: in sshkey_new() 621 case KEY_RSA: in sshkey_free() 720 case KEY_RSA: in sshkey_equal_public() 867 case KEY_RSA: in to_blob_buf() 1323 case KEY_RSA: in sshkey_read() 1408 case KEY_RSA: in sshkey_read() 1749 case KEY_RSA: in sshkey_generate() 1900 case KEY_RSA: in sshkey_from_private() [all …]
|
| H A D | ssh-pkcs11-client.c | 133 key->type = KEY_RSA; in rsa_encrypt() 234 if (k->type == KEY_RSA) in wrap_key()
|
| H A D | authfd.c | 391 if (alg != NULL && sshkey_type_plain(key->type) == KEY_RSA) { in agent_encode_alg() 509 case KEY_RSA: in ssh_add_identity_constrained()
|
| H A D | ssh-keygen.c | 201 case KEY_RSA: in type_bits_valid() 213 case KEY_RSA: in type_bits_valid() 283 case KEY_RSA: in ask_filename() 378 case KEY_RSA: in do_convert_to_pkcs8() 402 case KEY_RSA: in do_convert_to_pem() 515 ktype = KEY_RSA; in do_convert_private_ssh2() 544 case KEY_RSA: in do_convert_private_ssh2() 700 (*k)->type = KEY_RSA; in do_convert_from_pkcs8() 737 (*k)->type = KEY_RSA; in do_convert_from_pem() 788 case KEY_RSA: in do_convert_from() [all …]
|
| H A D | dns.c | 88 case KEY_RSA: in dns_read_key()
|
| H A D | auth2-hostbased.c | 104 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_hostbased()
|
| H A D | sshkey.h | 60 KEY_RSA, enumerator
|
| H A D | serverloop.c | 729 use_kexsigtype = kexsigtype == KEY_RSA && in server_input_hostkeys_prove() 730 sshkey_type_plain(key->type) == KEY_RSA; in server_input_hostkeys_prove()
|
| H A D | authfile.c | 330 case KEY_RSA: in sshkey_load_private_cert()
|
| H A D | ssh-pkcs11-helper.c | 206 if (key->type == KEY_RSA) { in process_sign()
|
| H A 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()
|
| H A D | sshconnect2.c | 1192 (key->type != KEY_RSA && key->type != KEY_RSA_CERT) || in key_sig_algorithm() 1204 if (key->type == KEY_RSA && (ssh->compat & SSH_BUG_SIGTYPE74)) in key_sig_algorithm() 1614 case KEY_RSA: in key_type_allowed_by_config() 1824 if (sshkey_type_plain(id->key->type) == KEY_RSA && in try_identity()
|
| H A D | ssh-pkcs11.c | 899 key->type = KEY_RSA; in pkcs11_fetch_rsa_pubkey() 1014 key->type = KEY_RSA; in pkcs11_fetch_x509_pubkey() 1727 case KEY_RSA: in pkcs11_gakp()
|
| H A D | clientloop.c | 2143 use_kexsigtype = kexsigtype == KEY_RSA && in client_global_hostkeys_private_confirm() 2144 sshkey_type_plain(ctx->keys[i]->type) == KEY_RSA; in client_global_hostkeys_private_confirm() 2186 if (key->type == KEY_RSA && in key_accepted_by_hostkeyalgs()
|
| H A D | ssh-keyscan.c | 733 case KEY_RSA: in main()
|
| H A D | sshd.c | 648 case KEY_RSA: 1909 case KEY_RSA:
|
| H A D | auth2-pubkey.c | 142 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_pubkey()
|
| H A D | sshconnect.c | 1578 KEY_RSA, in show_other_keys()
|
| H A D | ssh-agent.c | 298 if (key->type == KEY_RSA) { in agent_decode_alg()
|
| /freebsd-13.1/crypto/openssh/regress/misc/fuzz-harness/ |
| H A D | kex_fuzz.cc | 147 if (prepare_key(st, KEY_RSA, 2048) != 0 || in prepare_keys() 264 case KEY_RSA: in prepare_key() 329 const int keytypes[] = { KEY_RSA, KEY_DSA, KEY_ECDSA, KEY_ED25519, -1 }; in main() 402 do_kex_with_key(st, ts, kex, KEY_RSA); in do_kex()
|
| H A D | sig_fuzz.cc | 28 static struct sshkey *rsa = generate_or_die(KEY_RSA, 2048); in LLVMFuzzerTestOneInput()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/kex/ |
| H A D | test_kex.c | 182 do_kex_with_key(kex, KEY_RSA, 2048); in do_kex()
|