25 #include "libssh/libssh.h" 26 #include "libssh/wrapper.h" 28 struct ssh_public_key_struct {
37 #elif HAVE_LIBMBEDCRYPTO 38 mbedtls_pk_context *rsa_pub;
43 struct ssh_private_key_struct {
48 #elif defined HAVE_LIBCRYPTO 51 #elif HAVE_LIBMBEDCRYPTO 52 mbedtls_pk_context *rsa_priv;
57 const char *ssh_type_to_char(
int type);
58 int ssh_type_from_name(
const char *name);
60 ssh_public_key publickey_from_string(ssh_session session, ssh_string pubkey_s);