Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Go to the source code of this file.
Macros | |
#define | secp256k1_num_sanity(a) do { } while(0) |
Macro Definition Documentation
◆ secp256k1_num_sanity
#define secp256k1_num_sanity | ( | a | ) | do { } while(0) |
Definition at line 22 of file num_gmp_impl.h.
Referenced by secp256k1_num_add(), secp256k1_num_jacobi(), secp256k1_num_mod(), secp256k1_num_mod_inverse(), secp256k1_num_mul(), and secp256k1_num_sub().
Function Documentation
◆ secp256k1_num_add()
|
static |
Definition at line 223 of file num_gmp_impl.h.
References secp256k1_num_sanity, and secp256k1_num_subadd().
◆ secp256k1_num_add_abs()
|
static |
Definition at line 62 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, NUM_LIMBS, and VERIFY_CHECK.
Referenced by secp256k1_num_subadd().
◆ secp256k1_num_cmp()
|
static |
Definition at line 181 of file num_gmp_impl.h.
References secp256k1_num::data, and secp256k1_num::limbs.
Referenced by secp256k1_num_subadd().
◆ secp256k1_num_copy()
|
static |
Definition at line 25 of file num_gmp_impl.h.
◆ secp256k1_num_eq()
|
static |
Definition at line 191 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, secp256k1_num::neg, and secp256k1_num_is_zero().
◆ secp256k1_num_get_bin()
|
static |
Definition at line 29 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, memcpy(), and VERIFY_CHECK.
◆ secp256k1_num_is_neg()
|
static |
Definition at line 177 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, and secp256k1_num::neg.
◆ secp256k1_num_is_one()
|
static |
Definition at line 169 of file num_gmp_impl.h.
References secp256k1_num::data, and secp256k1_num::limbs.
◆ secp256k1_num_is_zero()
|
static |
Definition at line 173 of file num_gmp_impl.h.
References secp256k1_num::data, and secp256k1_num::limbs.
Referenced by secp256k1_num_eq().
◆ secp256k1_num_jacobi()
|
static |
Definition at line 147 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, secp256k1_num::neg, secp256k1_num_sanity, and VERIFY_CHECK.
◆ secp256k1_num_mod()
|
static |
Definition at line 81 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, secp256k1_num::neg, NUM_LIMBS, secp256k1_num_sanity, and secp256k1_num_sub_abs().
◆ secp256k1_num_mod_inverse()
|
static |
mpn_gcdext computes: (G,S) = gcdext(U,V), where
- G = gcd(U,V)
- G = U*S + V*T
- U has equal or more limbs than V, and V has no padding If we set U to be (a padded version of) a, and V = m: G = a*S + m*T G = a*S mod m Assuming G=1: S = 1/a mod m
Definition at line 101 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, secp256k1_num::neg, NUM_LIMBS, secp256k1_num_sanity, and VERIFY_CHECK.
◆ secp256k1_num_mul()
|
static |
Definition at line 235 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, secp256k1_num::neg, NUM_LIMBS, secp256k1_num_sanity, and VERIFY_CHECK.
◆ secp256k1_num_negate()
|
static |
Definition at line 284 of file num_gmp_impl.h.
References secp256k1_num::neg.
◆ secp256k1_num_set_bin()
|
static |
Definition at line 45 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, secp256k1_num::neg, NUM_LIMBS, and VERIFY_CHECK.
◆ secp256k1_num_shift()
|
static |
Definition at line 262 of file num_gmp_impl.h.
References immer::detail::rbts::bits, secp256k1_num::data, secp256k1_num::limbs, and NUM_LIMBS.
◆ secp256k1_num_sub()
|
static |
Definition at line 229 of file num_gmp_impl.h.
References secp256k1_num_sanity, and secp256k1_num_subadd().
◆ secp256k1_num_sub_abs()
|
static |
Definition at line 71 of file num_gmp_impl.h.
References secp256k1_num::data, secp256k1_num::limbs, and VERIFY_CHECK.
Referenced by secp256k1_num_mod(), and secp256k1_num_subadd().
◆ secp256k1_num_subadd()
|
static |
Definition at line 204 of file num_gmp_impl.h.
References secp256k1_num::limbs, secp256k1_num::neg, secp256k1_num_add_abs(), secp256k1_num_cmp(), and secp256k1_num_sub_abs().
Referenced by secp256k1_num_add(), and secp256k1_num_sub().