summaryrefslogtreecommitdiff
path: root/src/skey/skey.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-06 17:13:49 -0300
committerPerberos <[email protected]>2011-11-06 17:13:49 -0300
commit13e6e4ab1290cda9426eaedfeda70f7491b6b083 (patch)
tree2b9b2e1eac4cc6a161bea6f2197de4513ff1ddf7 /src/skey/skey.h
downloadmate-terminal-13e6e4ab1290cda9426eaedfeda70f7491b6b083.tar.bz2
mate-terminal-13e6e4ab1290cda9426eaedfeda70f7491b6b083.tar.xz
initial
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);
+