Home
last modified time | relevance | path

Searched refs:KEY_RSA (Results 1 – 23 of 23) sorted by relevance

/freebsd-12.1/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c197 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 Dtest_iterate.c228 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 Dsshkey.c299 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 Dssh-rsa.c118 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 Dssh-keygen.c238 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 Dauthfd.c330 if (alg != NULL && key->type == KEY_RSA) { in agent_encode_alg()
436 case KEY_RSA: in ssh_add_identity_constrained()
H A Ddns.c88 case KEY_RSA: in dns_read_key()
H A Dauth2-hostbased.c104 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_hostbased()
H A Dssh-pkcs11-client.c127 key.type = KEY_RSA; in pkcs11_rsa_private_encrypt()
H A Dsshkey.h57 KEY_RSA, enumerator
H A Dserverloop.c726 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 Dauthfile.c400 case KEY_RSA: in sshkey_load_private_cert()
H A Dclientloop.c1958 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 Dsshconnect2.c1062 (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 Dssh-pkcs11.c568 key->type = KEY_RSA; in pkcs11_fetch_keys_filter()
H A Dssh-keyscan.c720 case KEY_RSA: in main()
H A Dsshd.c741 case KEY_RSA:
1823 case KEY_RSA:
H A Dauth2-pubkey.c125 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_pubkey()
H A Dssh-agent.c285 if (key->type == KEY_RSA) { in agent_decode_alg()
H A Dsshconnect.c1449 KEY_RSA, in show_other_keys()
H A Dmonitor.c1180 if (sshkey_type_plain(key->type) == KEY_RSA && in mm_answer_keyallowed()
/freebsd-12.1/crypto/openssh/regress/misc/fuzz-harness/
H A Dsig_fuzz.cc28 static struct sshkey *rsa = generate_or_die(KEY_RSA, 2048); in LLVMFuzzerTestOneInput()
/freebsd-12.1/crypto/openssh/regress/unittests/kex/
H A Dtest_kex.c181 do_kex_with_key(kex, KEY_RSA, 2048); in do_kex()