summaryrefslogtreecommitdiff
path: root/includes/gnutls/gnutls.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'includes/gnutls/gnutls.h.in')
-rw-r--r--includes/gnutls/gnutls.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in
index f9831d78f1..1bd5d03876 100644
--- a/includes/gnutls/gnutls.h.in
+++ b/includes/gnutls/gnutls.h.in
@@ -985,7 +985,12 @@ extern "C"
int gnutls_psk_set_server_credentials_file (gnutls_psk_server_credentials_t
res, const char *password_file);
+ int
+ gnutls_psk_set_server_credentials_hint (gnutls_psk_server_credentials_t res,
+ const char *hint);
+
const char *gnutls_psk_server_get_username (gnutls_session_t session);
+ const char *gnutls_psk_client_get_hint (gnutls_session_t session);
typedef int gnutls_psk_server_credentials_function (gnutls_session_t,
const char *username,
@@ -1015,6 +1020,12 @@ extern "C"
res,
gnutls_params_function * func);
+ int gnutls_psk_netconf_derive_key (const char *password,
+ const char *psk_identity,
+ const char *psk_identity_hint,
+ gnutls_datum_t *output_key);
+
+
typedef enum gnutls_x509_subject_alt_name_t
{
GNUTLS_SAN_DNSNAME = 1,
@@ -1320,6 +1331,8 @@ extern "C"
#define GNUTLS_E_CRYPTO_ALREADY_REGISTERED -209
+#define GNUTLS_E_HANDSHAKE_TOO_LARGE -210
+
#define GNUTLS_E_UNIMPLEMENTED_FEATURE -1250
#define GNUTLS_E_APPLICATION_ERROR_MAX -65000