aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-12-30 11:02:06 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-04 18:37:04 +0100
commitb309dd8fb72d1deaa16536f6d3391711594bbca5 (patch)
treedb77df97da3ca0611b04c4954e1b68defd985c8a /include
parent91372e298d8effb5b3f8904449ebd5ca84afff2f (diff)
downloadlibssh-b309dd8fb72d1deaa16536f6d3391711594bbca5.tar.gz
libssh-b309dd8fb72d1deaa16536f6d3391711594bbca5.tar.xz
libssh-b309dd8fb72d1deaa16536f6d3391711594bbca5.zip
pki: Add support to generate ecdsa keys.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 7963984d..580956da 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -40,6 +40,7 @@ int pki_key_ecdsa_nid_from_name(const char *name);
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);
+int pki_key_generate_ecdsa(ssh_key key, int parameter);
int pki_key_compare(const ssh_key k1,
const ssh_key k2,
enum ssh_keycmp_e what);