aboutsummaryrefslogtreecommitdiffstats
path: root/dispass.h
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-11-17 01:08:10 +0100
committerGravatar Tom Willemse2013-11-17 01:13:08 +0100
commit6aa289c124bd823ee352fa5bda5c9d7c792c7bf5 (patch)
treede4fccaaa3504f15bde9988ddab236c4bcab9687 /dispass.h
parent19129006d3e6507b7192d16fe10a29f3374b9df1 (diff)
downloadlibdispass-6aa289c124bd823ee352fa5bda5c9d7c792c7bf5.tar.gz
libdispass-6aa289c124bd823ee352fa5bda5c9d7c792c7bf5.zip
Remove main from libdispass, add test executable
- Add ~dispasstest~ which is used to test the DisPass algorithms. - Remove =main= from libdispass since shared libraries shouldn't have main functions - Add ~dispass.h~ which defines and exports the DisPass algorithms. - Make some functions in ~dispass.c~ static to make clear they're not exported anywhere.
Diffstat (limited to 'dispass.h')
-rw-r--r--dispass.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dispass.h b/dispass.h
new file mode 100644
index 0000000..bb94358
--- /dev/null
+++ b/dispass.h
@@ -0,0 +1,7 @@
+#ifndef DISPASS_H
+#define DISPASS_H
+
+char *dispass1(char *label, char *password, int len, long long unsigned seqno);
+char *dispass2(char *label, char *password, int len, long long unsigned seqno);
+
+#endif /* DISPASS_H */