Home
last modified time | relevance | path

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

/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c101 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/
Dtest_sshkey.c203 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/
Dssh-rsa.c118 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()
Dsshkey.c120 { "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 …]
Dssh-pkcs11-client.c133 key->type = KEY_RSA; in rsa_encrypt()
234 if (k->type == KEY_RSA) in wrap_key()
Dssh-keygen.c200 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 …]
Dauthfd.c372 if (alg != NULL && sshkey_type_plain(key->type) == KEY_RSA) { in agent_encode_alg()
490 case KEY_RSA: in ssh_add_identity_constrained()
Ddns.c87 case KEY_RSA: in dns_read_key()
Dauth2-hostbased.c105 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_hostbased()
Dsshkey.h58 KEY_RSA, enumerator
Dauthfile.c324 case KEY_RSA: in sshkey_load_private_cert()
Dserverloop.c782 use_kexsigtype = kexsigtype == KEY_RSA && in server_input_hostkeys_prove()
783 sshkey_type_plain(key->type) == KEY_RSA; in server_input_hostkeys_prove()
Dssh-pkcs11-helper.c210 if (key->type == KEY_RSA) { in process_sign()
Dsshsig.c182 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()
Dssh-pkcs11.c899 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()
Dclientloop.c2035 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()
Dsshconnect2.c1130 (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()
Dssh-keyscan.c741 case KEY_RSA: in main()
Dsshd.c634 case KEY_RSA:
1837 case KEY_RSA:
Dauth2-pubkey.c144 if (sshkey_type_plain(key->type) == KEY_RSA && in userauth_pubkey()
Dsshconnect.c1309 KEY_RSA, in show_other_keys()
Dssh-agent.c271 if (key->type == KEY_RSA) { in agent_decode_alg()
Dmonitor.c1179 if (sshkey_type_plain(key->type) == KEY_RSA && in mm_answer_keyallowed()
/external/openssh/regress/misc/fuzz-harness/
Dsig_fuzz.cc28 static struct sshkey *rsa = generate_or_die(KEY_RSA, 2048); in LLVMFuzzerTestOneInput()
/external/openssh/regress/unittests/kex/
Dtest_kex.c181 do_kex_with_key(kex, KEY_RSA, 2048); in do_kex()