7#ifndef SECP256K1_FIELD_REPR_H
8#define SECP256K1_FIELD_REPR_H
37#define SECP256K1_FE_CONST_INNER(d7, d6, d5, d4, d3, d2, d1, d0) { \
38 (d0) | (((uint64_t)(d1) & 0xFFFFFUL) << 32), \
39 ((uint64_t)(d1) >> 20) | (((uint64_t)(d2)) << 12) | (((uint64_t)(d3) & 0xFFUL) << 44), \
40 ((uint64_t)(d3) >> 8) | (((uint64_t)(d4) & 0xFFFFFFFUL) << 24), \
41 ((uint64_t)(d4) >> 28) | (((uint64_t)(d5)) << 4) | (((uint64_t)(d6) & 0xFFFFUL) << 36), \
42 ((uint64_t)(d6) >> 16) | (((uint64_t)(d7)) << 16) \
49#define SECP256K1_FE_STORAGE_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{ \
50 (d0) | (((uint64_t)(d1)) << 32), \
51 (d2) | (((uint64_t)(d3)) << 32), \
52 (d4) | (((uint64_t)(d5)) << 32), \
53 (d6) | (((uint64_t)(d7)) << 32) \
56#define SECP256K1_FE_STORAGE_CONST_GET(d) \
57 (uint32_t)(d.n[3] >> 32), (uint32_t)d.n[3], \
58 (uint32_t)(d.n[2] >> 32), (uint32_t)d.n[2], \
59 (uint32_t)(d.n[1] >> 32), (uint32_t)d.n[1], \
60 (uint32_t)(d.n[0] >> 32), (uint32_t)d.n[0]
#define SECP256K1_FE_VERIFY_FIELDS
This field implementation represents the value as 10 uint32_t limbs in base 2^26.