summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/pki_priv.h')
-rw-r--r--include/libssh/pki_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index e86a96c4..3e1ef5dc 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -55,6 +55,11 @@ ssh_string pki_signature_to_blob(const ssh_signature sign);
ssh_signature pki_signature_from_blob(const ssh_key pubkey,
const ssh_string sig_blob,
enum ssh_keytypes_e type);
+int pki_signature_verify(ssh_session session,
+ const ssh_signature sig,
+ const ssh_key key,
+ const unsigned char *hash,
+ size_t len);
/* SSH Signing Functions */
struct signature_struct *pki_do_sign(const ssh_key privatekey,