Searched refs:sshkey_new (Results 1 – 11 of 11) sorted by relevance
382 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()
38 #define key_new sshkey_new
458 sshkey_new(int type) in sshkey_new() function574 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 …]
628 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()
114 struct sshkey *sshkey_new(int);
786 if ((lineinfo.key = sshkey_new(KEY_UNSPEC)) == NULL) { in hostkeys_foreach()794 lineinfo.key = sshkey_new(KEY_RSA1); in hostkeys_foreach()
308 if ((key = sshkey_new(KEY_RSA1)) == NULL) in process_authentication_challenge1()458 if ((key = sshkey_new(KEY_RSA1)) == NULL) { in process_remove_identity()
211 if ((key = sshkey_new(KEY_RSA1)) == NULL) in deserialise_identity1()
540 key = sshkey_new(KEY_UNSPEC); in pkcs11_fetch_keys_filter()
200 if ((rsa = sshkey_new(KEY_RSA1)) == NULL) { in keygrab_ssh1()
186 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()