aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/pki_priv.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-09-24 01:36:58 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-24 01:36:58 +0200
commite38f2f933b3f091fa4d9beed917e31f82bcf6a1c (patch)
tree528ed58a85c5c31ec6d257559af6164d223a06b8 /include/libssh/pki_priv.h
parent21d68112b869697a54536086956545543cbe9ec6 (diff)
downloadlibssh-e38f2f933b3f091fa4d9beed917e31f82bcf6a1c.tar.gz
libssh-e38f2f933b3f091fa4d9beed917e31f82bcf6a1c.tar.xz
libssh-e38f2f933b3f091fa4d9beed917e31f82bcf6a1c.zip
pki: ssh_pki_generate
for both gcrypt and openssl
Diffstat (limited to 'include/libssh/pki_priv.h')
-rw-r--r--include/libssh/pki_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 8e9347f6..6be297ed 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -34,6 +34,8 @@ void _ssh_pki_log(const char *function,
/* SSH Key Functions */
ssh_key pki_key_dup(const ssh_key key, int demote);
+int pki_key_generate_rsa(ssh_key key, int parameter);
+int pki_key_generate_dss(ssh_key key, int parameter);
/* SSH Private Key Functions */
enum ssh_keytypes_e pki_privatekey_type_from_string(const char *privkey);