summaryrefslogtreecommitdiff
path: root/src/skey/skey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/skey/skey.h')
-rw-r--r--src/skey/skey.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/skey/skey.h b/src/skey/skey.h
new file mode 100644
index 0000000..0475629
--- /dev/null
+++ b/src/skey/skey.h
@@ -0,0 +1,10 @@
+typedef enum {
+ MD4,
+ MD5,
+ SHA1
+} SKeyAlgorithm;
+
+#define SKEY_SIZE 8
+
+char *skey(SKeyAlgorithm algorithm, int seq, const char *seed, const char *passhrase);
+