![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <string.h>
#include "util.h"
#include "num.h"
#include "field.h"
#include "field_5x52_int128_impl.h"
Go to the source code of this file.
|
static |
Definition at line 362 of file field_5x52_impl.h.
|
static |
Definition at line 261 of file field_5x52_impl.h.
|
static |
Definition at line 407 of file field_5x52_impl.h.
|
static |
Definition at line 272 of file field_5x52_impl.h.
|
static |
Definition at line 444 of file field_5x52_impl.h.
|
static |
Convert a field element to a 32-byte big endian value. Requires the input to be normalized
Definition at line 314 of file field_5x52_impl.h.
|
static |
Definition at line 253 of file field_5x52_impl.h.
|
static |
Definition at line 244 of file field_5x52_impl.h.
|
static |
Definition at line 378 of file field_5x52_impl.h.
|
static |
Definition at line 349 of file field_5x52_impl.h.
|
static |
Definition at line 332 of file field_5x52_impl.h.
|
static |
Definition at line 59 of file field_5x52_impl.h.
|
static |
Definition at line 126 of file field_5x52_impl.h.
|
static |
Definition at line 102 of file field_5x52_impl.h.
|
static |
Definition at line 170 of file field_5x52_impl.h.
|
static |
Definition at line 193 of file field_5x52_impl.h.
|
static |
Definition at line 291 of file field_5x52_impl.h.
|
static |
Definition at line 234 of file field_5x52_impl.h.
|
static |
Definition at line 394 of file field_5x52_impl.h.
|
static |
Definition at line 424 of file field_5x52_impl.h.
|
static |
Definition at line 434 of file field_5x52_impl.h.
|
static |
Implements arithmetic modulo FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F, represented as 5 uint64_t's in base 2^52. The values are allowed to contain >52 each. In particular, each FieldElem has a 'magnitude' associated with it. Internally, a magnitude M means each element is at most M*(2^53-1), except the most significant one, which is limited to M*(2^49-1). All operations accept any input with magnitude at most M, and have different rules for propagating magnitude to their output.
Definition at line 54 of file field_5x52_impl.h.
Referenced by secp256k1_fe_add(), secp256k1_fe_cmp_var(), secp256k1_fe_get_b32(), secp256k1_fe_is_odd(), secp256k1_fe_is_zero(), secp256k1_fe_mul(), secp256k1_fe_mul_int(), secp256k1_fe_negate(), secp256k1_fe_normalize(), secp256k1_fe_normalize_var(), secp256k1_fe_normalize_weak(), secp256k1_fe_set_b32(), secp256k1_fe_set_int(), and secp256k1_fe_sqr().