| /freebsd-14.2/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 105 expected->l.keytype == KEY_RSA || in check() 106 expected->no_parse_keytype == KEY_RSA || in check() 169 case KEY_RSA: in prepare_expected() 258 KEY_RSA, 342 KEY_RSA, 426 KEY_RSA, 510 KEY_RSA, 669 KEY_RSA, 683 KEY_RSA, 697 KEY_RSA, [all …]
|
| /freebsd-14.2/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_sshkey.c | 206 k1 = sshkey_new(KEY_RSA); in sshkey_tests() 240 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 128, &k1), in sshkey_tests() 246 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1 << 20, &k1), in sshkey_tests() 270 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 767, &kr), in sshkey_tests() 272 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &kr), 0); in sshkey_tests() 315 ASSERT_INT_EQ(k1->type, KEY_RSA); in sshkey_tests() 391 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &k1), 0); in sshkey_tests()
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | ssh-rsa.c | 345 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_complete_crt_parameters() 413 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_sign() 487 sshkey_type_plain(key->type) != KEY_RSA || in ssh_rsa_verify() 699 /* .type = */ KEY_RSA, 725 /* .type = */ KEY_RSA, 737 /* .type = */ KEY_RSA,
|
| H A D | ssh-pkcs11-client.c | 272 key->type = KEY_RSA; in rsa_encrypt() 412 if (k->type == KEY_RSA) { in wrap_key() 451 if (priv->type == KEY_RSA) { in pkcs11_make_cert()
|
| H A D | dns.c | 88 case KEY_RSA: in dns_read_key()
|
| H A D | ssh-keygen.c | 202 case KEY_RSA: in type_bits_valid() 214 case KEY_RSA: in type_bits_valid() 286 case KEY_RSA: in ask_filename() 381 case KEY_RSA: in do_convert_to_pkcs8() 407 case KEY_RSA: in do_convert_to_pem() 523 ktype = KEY_RSA; in do_convert_private_ssh2() 558 case KEY_RSA: in do_convert_private_ssh2() 718 (*k)->type = KEY_RSA; in do_convert_from_pkcs8() 757 (*k)->type = KEY_RSA; in do_convert_from_pem() 810 case KEY_RSA: in do_convert_from() [all …]
|
| H A D | authfd.c | 391 if (alg != NULL && sshkey_type_plain(key->type) == KEY_RSA) { in agent_encode_alg() 602 case KEY_RSA: in ssh_add_identity_constrained()
|
| H A D | sshkey.c | 303 else if (ktype == KEY_RSA) { in sshkey_match_keyname_to_sigalgs() 441 return KEY_RSA; in sshkey_type_plain() 464 case KEY_RSA: in sshkey_type_certified() 1338 (k->type != KEY_RSA && k->type != KEY_RSA_CERT)) in sshkey_check_rsa_length() 2209 if (alg == NULL && ca->type == KEY_RSA) in sshkey_certify_custom() 3257 case KEY_RSA: in sshkey_private_to_blob_pem_pkcs8() 3310 case KEY_RSA: in sshkey_private_to_fileblob() 3459 (type == KEY_UNSPEC || type == KEY_RSA)) { in sshkey_parse_private_pem_fileblob() 3465 prv->type = KEY_RSA; in sshkey_parse_private_pem_fileblob()
|
| H A D | sshkey.h | 60 KEY_RSA, enumerator
|
| H A D | serverloop.c | 692 ssh->kex->hostkey_alg)) == KEY_RSA) in server_input_hostkeys_prove() 727 if (sshkey_type_plain(key->type) == KEY_RSA) { in server_input_hostkeys_prove()
|
| H A D | ssh-pkcs11-helper.c | 206 if (key->type == KEY_RSA) { in process_sign()
|
| H A D | authfile.c | 332 case KEY_RSA: in sshkey_load_private_cert()
|
| H A D | clientloop.c | 2368 ssh->kex->hostkey_alg)) == KEY_RSA) in client_global_hostkeys_prove_confirm() 2404 if (plaintype == KEY_RSA && rsa_kexalg == NULL && in client_global_hostkeys_prove_confirm() 2420 plaintype == KEY_RSA ? rsa_kexalg : NULL, 0, NULL)) != 0) { in client_global_hostkeys_prove_confirm() 2457 if (key->type == KEY_RSA && in key_accepted_by_hostkeyalgs()
|
| H A D | sshsig.c | 193 if (sshkey_type_plain(key->type) == KEY_RSA) in sshsig_wrap_sign() 365 if (sshkey_type_plain(key->type) == KEY_RSA) { in sshsig_wrap_verify()
|
| H A D | ssh-pkcs11.c | 903 key->type = KEY_RSA; in pkcs11_fetch_rsa_pubkey() 1018 key->type = KEY_RSA; in pkcs11_fetch_x509_pubkey() 1729 case KEY_RSA: in pkcs11_gakp()
|
| H A D | ssh-keyscan.c | 802 case KEY_RSA: in main()
|
| H A D | sshconnect2.c | 1168 (key->type != KEY_RSA && key->type != KEY_RSA_CERT) || in key_sig_algorithm() 1180 if (key->type == KEY_RSA && (ssh->compat & SSH_BUG_SIGTYPE74)) in key_sig_algorithm() 1610 case KEY_RSA: in key_type_allowed_by_config()
|
| H A D | sshd.c | 634 case KEY_RSA: 1978 case KEY_RSA:
|
| H A D | ssh-add.c | 510 if (sshkey_type_plain(key->type) == KEY_RSA) in test_key()
|
| H A D | sshconnect.c | 1597 KEY_RSA, in show_other_keys()
|
| H A D | ssh-agent.c | 684 if (key->type == KEY_RSA) { in agent_decode_alg()
|
| /freebsd-14.2/crypto/openssh/regress/misc/fuzz-harness/ |
| H A D | kex_fuzz.cc | 146 if (prepare_key(st, KEY_RSA, 2048) != 0 || in prepare_keys() 263 case KEY_RSA: in prepare_key() 328 const int keytypes[] = { KEY_RSA, KEY_DSA, KEY_ECDSA, KEY_ED25519, -1 }; in main() 401 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-14.2/crypto/openssh/regress/unittests/kex/ |
| H A D | test_kex.c | 181 do_kex_with_key(kex, KEY_RSA, 2048); in do_kex()
|