summaryrefslogtreecommitdiff
path: root/keypair.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 14:05:28 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 14:08:17 +0200
commitf712d7a28192cbfcde5845d0c2e78fefd7386273 (patch)
tree1b190d1617389ada0bf3c94f77d73d6f612a9021 /keypair.h
parentc19bbb5083376a7941e2ea4607ee5e90ecfb5cde (diff)
keypair: Add routines to generate and verify a keypair
This is needed in order to replace curvetun's routines. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'keypair.h')
-rw-r--r--keypair.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keypair.h b/keypair.h
new file mode 100644
index 0000000..f65a88c
--- /dev/null
+++ b/keypair.h
@@ -0,0 +1,7 @@
+#ifndef KEYPAIR_H
+#define KEYPAIR_H
+
+extern void generate_keypair(void);
+extern void verify_keypair(void);
+
+#endif /* KEYPAIR_H */