Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Macros
field_5x52.h File Reference
#include <stdint.h>
Include dependency graph for field_5x52.h:

Go to the source code of this file.

Classes

struct  secp256k1_fe
 
struct  secp256k1_fe_storage
 

Macros

#define SECP256K1_FE_CONST_INNER(d7, d6, d5, d4, d3, d2, d1, d0)
 
#define SECP256K1_FE_CONST(d7, d6, d5, d4, d3, d2, d1, d0)   {SECP256K1_FE_CONST_INNER((d7), (d6), (d5), (d4), (d3), (d2), (d1), (d0))}
 
#define SECP256K1_FE_STORAGE_CONST(d7, d6, d5, d4, d3, d2, d1, d0)
 

Macro Definition Documentation

#define SECP256K1_FE_CONST (   d7,
  d6,
  d5,
  d4,
  d3,
  d2,
  d1,
  d0 
)    {SECP256K1_FE_CONST_INNER((d7), (d6), (d5), (d4), (d3), (d2), (d1), (d0))}

Definition at line 33 of file field_5x52.h.

#define SECP256K1_FE_CONST_INNER (   d7,
  d6,
  d5,
  d4,
  d3,
  d2,
  d1,
  d0 
)
Value:
{ \
(d0) | (((uint64_t)(d1) & 0xFFFFFUL) << 32), \
((uint64_t)(d1) >> 20) | (((uint64_t)(d2)) << 12) | (((uint64_t)(d3) & 0xFFUL) << 44), \
((uint64_t)(d3) >> 8) | (((uint64_t)(d4) & 0xFFFFFFFUL) << 24), \
((uint64_t)(d4) >> 28) | (((uint64_t)(d5)) << 4) | (((uint64_t)(d6) & 0xFFFFUL) << 36), \
((uint64_t)(d6) >> 16) | (((uint64_t)(d7)) << 16) \
}
#define UL(i)

Definition at line 22 of file field_5x52.h.

#define SECP256K1_FE_STORAGE_CONST (   d7,
  d6,
  d5,
  d4,
  d3,
  d2,
  d1,
  d0 
)
Value:
{{ \
(d0) | (((uint64_t)(d1)) << 32), \
(d2) | (((uint64_t)(d3)) << 32), \
(d4) | (((uint64_t)(d5)) << 32), \
(d6) | (((uint64_t)(d7)) << 32) \
}}

Definition at line 40 of file field_5x52.h.