summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorDirkjan Bussink <d.bussink@gmail.com>2014-04-20 10:09:39 +0000
committerAndreas Schneider <asn@cryptomilk.org>2014-04-22 10:57:18 +0200
commit6c74d6f891bab99f68fffdb78dec66de369898c7 (patch)
tree3873f820ee92ef9e6696ac27d63590e6b2ceb3f6 /include/libssh/libssh.h
parent262c82ac0661bb0be46477006ed366e401c1620f (diff)
downloadlibssh-6c74d6f891bab99f68fffdb78dec66de369898c7.tar.gz
libssh-6c74d6f891bab99f68fffdb78dec66de369898c7.tar.xz
libssh-6c74d6f891bab99f68fffdb78dec66de369898c7.zip
Add options support for setting and getting HMAC algorithms
BUG: https://red.libssh.org/issues/91 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index a166d054..c82a0860 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -342,6 +342,8 @@ enum ssh_options_e {
SSH_OPTIONS_GSSAPI_SERVER_IDENTITY,
SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY,
SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS,
+ SSH_OPTIONS_HMAC_C_S,
+ SSH_OPTIONS_HMAC_S_C,
};
enum {
@@ -657,6 +659,8 @@ LIBSSH_API const char* ssh_get_clientbanner(ssh_session session);
LIBSSH_API const char* ssh_get_serverbanner(ssh_session session);
LIBSSH_API const char* ssh_get_cipher_in(ssh_session session);
LIBSSH_API const char* ssh_get_cipher_out(ssh_session session);
+LIBSSH_API const char* ssh_get_hmac_in(ssh_session session);
+LIBSSH_API const char* ssh_get_hmac_out(ssh_session session);
#ifndef LIBSSH_LEGACY_0_4
#include "libssh/legacy.h"