summaryrefslogtreecommitdiffstats
path: root/src/ntlm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ntlm.h')
-rw-r--r--src/ntlm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ntlm.h b/src/ntlm.h
index 648e811..da734c8 100644
--- a/src/ntlm.h
+++ b/src/ntlm.h
@@ -450,6 +450,18 @@ int ntlm_verify_mic(struct ntlm_key *key,
struct ntlm_buffer *authenticate_message,
struct ntlm_buffer *mic);
+/**
+ * @brief NTLM hash client channel binding unhashed data
+ *
+ * @param unhashed The unhashed channel bindings data
+ * @param signature The MD5 signature
+ *
+ * @return 0 on success, or an error
+ */
+int ntlm_hash_channel_bindings(struct ntlm_buffer *unhashed,
+ struct ntlm_buffer *signature);
+
+
/* ############## ENCODING / DECODING ############## */
/**