aboutsummaryrefslogtreecommitdiff
path: root/src/secp256k1/src/int128_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/secp256k1/src/int128_struct.h')
-rw-r--r--src/secp256k1/src/int128_struct.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/secp256k1/src/int128_struct.h b/src/secp256k1/src/int128_struct.h
new file mode 100644
index 0000000000..6156f82cc2
--- /dev/null
+++ b/src/secp256k1/src/int128_struct.h
@@ -0,0 +1,14 @@
+#ifndef SECP256K1_INT128_STRUCT_H
+#define SECP256K1_INT128_STRUCT_H
+
+#include <stdint.h>
+#include "util.h"
+
+typedef struct {
+ uint64_t lo;
+ uint64_t hi;
+} secp256k1_uint128;
+
+typedef secp256k1_uint128 secp256k1_int128;
+
+#endif