aboutsummaryrefslogtreecommitdiff
path: root/src/scalar_low.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scalar_low.h')
-rw-r--r--src/scalar_low.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/scalar_low.h b/src/scalar_low.h
new file mode 100644
index 0000000000..5574c44c7a
--- /dev/null
+++ b/src/scalar_low.h
@@ -0,0 +1,15 @@
+/**********************************************************************
+ * Copyright (c) 2015 Andrew Poelstra *
+ * Distributed under the MIT software license, see the accompanying *
+ * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
+ **********************************************************************/
+
+#ifndef _SECP256K1_SCALAR_REPR_
+#define _SECP256K1_SCALAR_REPR_
+
+#include <stdint.h>
+
+/** A scalar modulo the group order of the secp256k1 curve. */
+typedef uint32_t secp256k1_scalar;
+
+#endif