summaryrefslogtreecommitdiffstats
path: root/lock/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lock/util.h')
-rw-r--r--lock/util.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lock/util.h b/lock/util.h
new file mode 100644
index 0000000..3f6d7a2
--- /dev/null
+++ b/lock/util.h
@@ -0,0 +1,14 @@
+#ifndef MY_UTIL_H
+#define MY_UTIL_H
+
+#define WDLEN 32
+
+#define KEY "dM>}jdb,6gsnC$J^K 8(I5vyPemPs%;K"
+#define SYN "43iqr5$NB8SpN?Z/52{iVl>o|i!.'dsT"
+#define LOCK "R,I7l^E4j]KyLR9'*Q{Jd'zu.~!84}Ij"
+#define LOCKED "R,I7l^E4j]KyLR9'*Q{Jd'zu.~!84}Ik"
+#define UNLOCKED "R,I7l^E4j]KyLR9'*Q{Jd'zu.~!84}Il"
+
+void xor(const char *k, const char *s, char *d, uint8_t n);
+
+#endif /* MY_UTIL_H */