From 6aa289c124bd823ee352fa5bda5c9d7c792c7bf5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 17 Nov 2013 01:08:10 +0100 Subject: 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. --- dispass.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dispass.h (limited to 'dispass.h') 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 */ -- cgit v1.2.3-54-g00ecf