25#include "libssh/libssh.h"
26#include "libssh/wrapper.h"
28struct ssh_public_key_struct {
31#if defined(HAVE_LIBGCRYPT)
33#elif defined(HAVE_LIBCRYPTO)
35#elif defined(HAVE_LIBMBEDCRYPTO)
36 mbedtls_pk_context *rsa_pub;
40struct ssh_private_key_struct {
42#if defined(HAVE_LIBGCRYPT)
44#elif defined(HAVE_LIBCRYPTO)
46#elif defined(HAVE_LIBMBEDCRYPTO)
47 mbedtls_pk_context *rsa_priv;
55const char *ssh_type_to_char(
int type);
56int ssh_type_from_name(
const char *name);
58ssh_public_key publickey_from_string(ssh_session session, ssh_string pubkey_s);