Field storage type

This commit is contained in:
Pieter Wuille
2015-01-24 23:04:48 -04:00
parent 7137be8110
commit ff889f7d90
6 changed files with 134 additions and 0 deletions

View File

@@ -37,4 +37,10 @@ typedef struct {
#define SECP256K1_FE_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {SECP256K1_FE_CONST_INNER((d7), (d6), (d5), (d4), (d3), (d2), (d1), (d0))}
#endif
typedef struct {
uint32_t n[8];
} secp256k1_fe_storage_t;
#define SECP256K1_FE_STORAGE_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{ (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }}
#endif