Home
last modified time | relevance | path

Searched refs:sshkey_new (Results 1 – 11 of 11) sorted by relevance

/external/openssh/
Dauthfile.c382 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_load_public()
393 if ((pub = sshkey_new(KEY_RSA1)) == NULL) in sshkey_load_public()
405 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_load_public()
434 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_load_cert()
540 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_in_file()
Dkey.h38 #define key_new sshkey_new
Dsshkey.c458 sshkey_new(int type) in sshkey_new() function
574 struct sshkey *k = sshkey_new(type); in sshkey_new_private()
1668 if ((k = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_generate()
1773 if ((n = sshkey_new(k->type)) == NULL) in sshkey_from_private()
1786 if ((n = sshkey_new(k->type)) == NULL) in sshkey_from_private()
1804 if ((n = sshkey_new(k->type)) == NULL) in sshkey_from_private()
1815 if ((n = sshkey_new(k->type)) == NULL) in sshkey_from_private()
2003 if ((key = sshkey_new(type)) == NULL) { in sshkey_from_blob_internal()
2024 if ((key = sshkey_new(type)) == NULL) { in sshkey_from_blob_internal()
2048 if ((key = sshkey_new(type)) == NULL) { in sshkey_from_blob_internal()
[all …]
Dssh-keygen.c628 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
634 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
641 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
668 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pem()
678 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pem()
819 if ((ret = sshkey_new(KEY_RSA1)) == NULL) in try_read_key()
826 if ((ret = sshkey_new(KEY_UNSPEC)) == NULL) in try_read_key()
1957 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in do_show_cert()
2103 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in update_krl_from_file()
Dsshkey.h114 struct sshkey *sshkey_new(int);
Dhostfile.c786 if ((lineinfo.key = sshkey_new(KEY_UNSPEC)) == NULL) { in hostkeys_foreach()
794 lineinfo.key = sshkey_new(KEY_RSA1); in hostkeys_foreach()
Dssh-agent.c308 if ((key = sshkey_new(KEY_RSA1)) == NULL) in process_authentication_challenge1()
458 if ((key = sshkey_new(KEY_RSA1)) == NULL) { in process_remove_identity()
Dauthfd.c211 if ((key = sshkey_new(KEY_RSA1)) == NULL) in deserialise_identity1()
Dssh-pkcs11.c540 key = sshkey_new(KEY_UNSPEC); in pkcs11_fetch_keys_filter()
Dssh-keyscan.c200 if ((rsa = sshkey_new(KEY_RSA1)) == NULL) { in keygrab_ssh1()
/external/openssh/regress/unittests/sshkey/
Dtest_sshkey.c186 k1 = sshkey_new(-42); in sshkey_tests()
191 k1 = sshkey_new(KEY_UNSPEC); in sshkey_tests()
197 k1 = sshkey_new(KEY_RSA1); in sshkey_tests()
207 k1 = sshkey_new(KEY_RSA); in sshkey_tests()
217 k1 = sshkey_new(KEY_DSA); in sshkey_tests()
227 k1 = sshkey_new(KEY_ECDSA); in sshkey_tests()
235 k1 = sshkey_new(KEY_ED25519); in sshkey_tests()