aboutsummaryrefslogtreecommitdiff
path: root/src/gen/types.h
diff options
context:
space:
mode:
authorJ08nY2017-08-31 21:13:00 +0200
committerJ08nY2017-08-31 21:13:50 +0200
commit390046e05d5f14f07c6adbe879b51c48bbe27733 (patch)
tree8095406d7c4dfbcfbeb7812890fbe67e9037c85b /src/gen/types.h
parent98672b5bc2c2897e372892d16124612cd0b1c96a (diff)
downloadecgen-390046e05d5f14f07c6adbe879b51c48bbe27733.tar.gz
ecgen-390046e05d5f14f07c6adbe879b51c48bbe27733.tar.zst
ecgen-390046e05d5f14f07c6adbe879b51c48bbe27733.zip
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