aboutsummaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorJ08nY2017-10-14 03:07:49 +0200
committerJ08nY2017-10-14 03:07:49 +0200
commit5a24bec70aa2614e847e866be514341dce10ff19 (patch)
tree1c11306f38822337213f07130959634292d07a37 /src/misc
parenta16cf934a303166282f10f5788912780130aa8ae (diff)
downloadecgen-5a24bec70aa2614e847e866be514341dce10ff19.tar.gz
ecgen-5a24bec70aa2614e847e866be514341dce10ff19.tar.zst
ecgen-5a24bec70aa2614e847e866be514341dce10ff19.zip
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/config.c7
-rw-r--r--src/misc/config.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/misc/config.c b/src/misc/config.c
new file mode 100644
index 0000000..466ec92
--- /dev/null
+++ b/src/misc/config.c
@@ -0,0 +1,7 @@
+/*
+ * ecgen, tool for generating Elliptic curve domain parameters
+ * Copyright (C) 2017 J08nY
+ */
+#include "config.h"
+
+config_t cfg; \ No newline at end of file
diff --git a/src/misc/config.h b/src/misc/config.h
index 84ee025..f93cfc3 100644
--- a/src/misc/config.h
+++ b/src/misc/config.h
@@ -100,4 +100,6 @@ typedef struct {
unsigned long hex_digits;
} config_t;
+extern config_t cfg;
+
#endif // ECGEN_CONFIG_H