aboutsummaryrefslogtreecommitdiff
path: root/src/gen/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen/types.h')
-rw-r--r--src/gen/types.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gen/types.h b/src/gen/types.h
index 5500e85..da03aeb 100644
--- a/src/gen/types.h
+++ b/src/gen/types.h
@@ -16,9 +16,10 @@
* @brief
*/
typedef struct seed_t {
- char *raw;
- size_t raw_len;
GEN seed;
+ char *hex;
+ size_t hex_len;
+ unsigned char *hash;
} seed_t;
/**
@@ -84,6 +85,11 @@ typedef struct {
} arg_t;
/**
+ * @brief
+ */
+typedef enum { ENDIAN_BIG = 0, ENDIAN_LITTLE } endian_e;
+
+/**
* @brief A generator function type.
* @param curve A curve_t being generated
* @param cfg An application config