| /freebsd-12.1/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_sshkey.c | 197 k1 = sshkey_new(KEY_RSA); in sshkey_tests() 229 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 128, &k1), in sshkey_tests() 235 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1 << 20, &k1), in sshkey_tests() 257 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 767, &kr), in sshkey_tests() 259 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &kr), 0); in sshkey_tests() 298 ASSERT_INT_EQ(k1->type, KEY_RSA); in sshkey_tests() 368 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &k1), 0); in sshkey_tests()
|
| /freebsd-12.1/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 228 KEY_RSA, 306 KEY_RSA, 384 KEY_RSA, 462 KEY_RSA, 610 KEY_RSA, 623 KEY_RSA, 636 KEY_RSA, 809 { NULL, HKF_STATUS_OK, KEY_RSA, HKF_MATCH_HOST, 0, 0, 0, -1, {
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | sshkey.c | 299 case KEY_RSA: in sshkey_size() 328 case KEY_RSA: in sshkey_type_is_valid_ca() 513 case KEY_RSA: in sshkey_new() 575 case KEY_RSA: in sshkey_free() 663 case KEY_RSA: in sshkey_equal_public() 793 case KEY_RSA: in to_blob_buf() 1249 case KEY_RSA: in sshkey_read() 1330 case KEY_RSA: in sshkey_read() 1657 case KEY_RSA: in sshkey_generate() 1792 case KEY_RSA: in sshkey_from_private() [all …]
|
| 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 | ssh-keygen.c | 238 case KEY_RSA: in type_bits_valid() 272 case KEY_RSA: in ask_filename() 357 case KEY_RSA: in do_convert_to_pkcs8() 381 case KEY_RSA: in do_convert_to_pem() 488 ktype = KEY_RSA; in do_convert_private_ssh2_from_blob() 518 case KEY_RSA: in do_convert_private_ssh2_from_blob() 672 (*k)->type = KEY_RSA; in do_convert_from_pkcs8() 709 (*k)->type = KEY_RSA; in do_convert_from_pem() 760 case KEY_RSA: in do_convert_from() 1750 if (public->type != KEY_RSA && public->type != KEY_DSA && in do_ca_sign()
|
| H A D | authfd.c | 330 if (alg != NULL && key->type == KEY_RSA) { in agent_encode_alg() 436 case KEY_RSA: in ssh_add_identity_constrained()
|
| 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 | ssh-pkcs11-client.c | 127 key.type = KEY_RSA; in pkcs11_rsa_private_encrypt()
|
| H A D | sshkey.h | 57 KEY_RSA, enumerator
|
| H A D | serverloop.c | 726 use_kexsigtype = kexsigtype == KEY_RSA && in server_input_hostkeys_prove() 727 sshkey_type_plain(key->type) == KEY_RSA; in server_input_hostkeys_prove()
|
| H A D | authfile.c | 400 case KEY_RSA: in sshkey_load_private_cert()
|
| H A D | clientloop.c | 1958 use_kexsigtype = kexsigtype == KEY_RSA && in client_global_hostkeys_private_confirm() 1959 sshkey_type_plain(ctx->keys[i]->type) == KEY_RSA; in client_global_hostkeys_private_confirm() 1995 if (key->type == KEY_RSA && in key_accepted_by_hostkeyalgs()
|
| H A D | sshconnect2.c | 1062 (key->type != KEY_RSA && key->type != KEY_RSA_CERT)) { in key_sig_algorithm() 1423 case KEY_RSA: in key_type_allowed_by_config() 1613 if (sshkey_type_plain(id->key->type) == KEY_RSA && in try_identity()
|
| H A D | ssh-pkcs11.c | 568 key->type = KEY_RSA; in pkcs11_fetch_keys_filter()
|
| H A D | ssh-keyscan.c | 720 case KEY_RSA: in main()
|
| H A D | sshd.c | 741 case KEY_RSA: 1823 case KEY_RSA:
|
| H A D | auth2-pubkey.c | 125 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_pubkey()
|
| H A D | ssh-agent.c | 285 if (key->type == KEY_RSA) { in agent_decode_alg()
|
| H A D | sshconnect.c | 1449 KEY_RSA, in show_other_keys()
|
| H A D | monitor.c | 1180 if (sshkey_type_plain(key->type) == KEY_RSA && in mm_answer_keyallowed()
|
| /freebsd-12.1/crypto/openssh/regress/misc/fuzz-harness/ |
| H A D | sig_fuzz.cc | 28 static struct sshkey *rsa = generate_or_die(KEY_RSA, 2048); in LLVMFuzzerTestOneInput()
|
| /freebsd-12.1/crypto/openssh/regress/unittests/kex/ |
| H A D | test_kex.c | 181 do_kex_with_key(kex, KEY_RSA, 2048); in do_kex()
|