aboutsummaryrefslogtreecommitdiff
path: root/src/scalar_4x64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scalar_4x64.h')
-rw-r--r--src/scalar_4x64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scalar_4x64.h b/src/scalar_4x64.h
index 5a751c6862..82899aa7b0 100644
--- a/src/scalar_4x64.h
+++ b/src/scalar_4x64.h
@@ -14,4 +14,6 @@ typedef struct {
uint64_t d[4];
} secp256k1_scalar_t;
+#define SECP256K1_SCALAR_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{((uint64_t)(d1)) << 32 | (d0), ((uint64_t)(d3)) << 32 | (d2), ((uint64_t)(d5)) << 32 | (d4), ((uint64_t)(d7)) << 32 | (d6)}}
+
#endif