summaryrefslogtreecommitdiff
path: root/t/testv.h
diff options
context:
space:
mode:
Diffstat (limited to 't/testv.h')
-rw-r--r--t/testv.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/t/testv.h b/t/testv.h
new file mode 100644
index 0000000..df6282e
--- /dev/null
+++ b/t/testv.h
@@ -0,0 +1,21 @@
+#ifndef TESTV_H
+#define TESTV_H
+
+#include <stddef.h>
+
+#define NTESTS 8
+
+typedef struct
+{
+ const char *sk;
+ const char *pk;
+ const char *sign;
+ const unsigned char *msg;
+ unsigned long long mlen;
+} test_t;
+
+extern const test_t tests[NTESTS];
+
+void hex2bin(unsigned char *out, const char *in);
+
+#endif