aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-09-20 16:28:03 +0200
committerAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-09-24 16:49:35 +0200
commitbdcaf55b906bedb84df1cf0637137f674dd5ce64 (patch)
tree001e4be59e7788507541b04590f8550a0a935c43 /include/libssh
parenta0b84a8cd541e1a5c9d9a1ab12cfa9e4b7f3aa9e (diff)
downloadlibssh-bdcaf55b906bedb84df1cf0637137f674dd5ce64.tar.gz
libssh-bdcaf55b906bedb84df1cf0637137f674dd5ce64.tar.xz
libssh-bdcaf55b906bedb84df1cf0637137f674dd5ce64.zip
pki: Move common Ed25519 functions to pki_ed25519_common.c
This is a preparation to use the Ed25519 implementation from OpenSSL. The function pki_ed25519_sig_to_blob() was renamed to pki_ed25519_signature_to_blob() and pki_ed25519_sig_from_blob() was renamed to pki_signature_from_ed25519_blob() to follow the naming for other algorithms. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/pki_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 39a22cac..24538d8e 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -148,8 +148,8 @@ int pki_ed25519_key_cmp(const ssh_key k1,
enum ssh_keycmp_e what);
int pki_ed25519_key_dup(ssh_key new, const ssh_key key);
int pki_ed25519_public_key_to_blob(ssh_buffer buffer, ssh_key key);
-ssh_string pki_ed25519_sig_to_blob(ssh_signature sig);
-int pki_ed25519_sig_from_blob(ssh_signature sig, ssh_string sig_blob);
+ssh_string pki_ed25519_signature_to_blob(ssh_signature sig);
+int pki_signature_from_ed25519_blob(ssh_signature sig, ssh_string sig_blob);
int pki_privkey_build_ed25519(ssh_key key,
ssh_string pubkey,
ssh_string privkey);