Convert the scalar constant initialization to static consts

This commit is contained in:
Pieter Wuille
2015-01-21 17:20:43 -05:00
parent 50cc6ab062
commit f1ebfe399f
6 changed files with 77 additions and 130 deletions

View File

@@ -14,4 +14,6 @@ typedef struct {
uint32_t d[8];
} secp256k1_scalar_t;
#define SECP256K1_SCALAR_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7)}}
#endif