Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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

◆ SECP256K1_FE_CONST

#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 35 of file field_5x52.h.

◆ SECP256K1_FE_CONST_INNER

#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) \
}

Definition at line 24 of file field_5x52.h.

◆ SECP256K1_FE_STORAGE_CONST

#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 42 of file field_5x52.h.

Released under the MIT license