summary refs log tree commit diff stats
path: root/plugins/fishlim/dh1080.h
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-08-28 21:18:44 -0400
committerPatrick Griffis <tingping@tingping.se>2016-10-08 14:48:49 -0400
commitdba19a961bb0ba3f0d28eee20980ea808a70289d (patch)
tree5ebcd1d70a5d1ef282b50ebc950e018ee1998587 /plugins/fishlim/dh1080.h
parent65abf5c5324536b14985689bb97af61bf439d651 (diff)
fishlim: Add /keyx for DH1080 key exchange
Losely based upon work from PR #1440

Fixes #653
Diffstat (limited to 'plugins/fishlim/dh1080.h')
-rw-r--r--plugins/fishlim/dh1080.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/fishlim/dh1080.h b/plugins/fishlim/dh1080.h
new file mode 100644
index 00000000..75662189
--- /dev/null
+++ b/plugins/fishlim/dh1080.h
@@ -0,0 +1,24 @@
+/* HexChat
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+*/
+
+#pragma once
+
+int dh1080_generate_key (char **, char **);
+int dh1080_compute_key (const char *, const char *, char **);
+int dh1080_init (void);
+void dh1080_deinit (void);
+