![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Go to the source code of this file.
|
static |
Add two (signed) numbers.
Referenced by scalar_test(), test_num_add_sub(), and test_num_negate().
|
static |
Compare the absolute value of two numbers.
Referenced by scalar_test().
|
static |
Copy a number.
Referenced by test_num_negate().
|
static |
Test whether two number are equal (including sign).
Referenced by scalar_test(), test_num_add_sub(), and test_num_negate().
|
static |
Convert a number's absolute value to a binary big-endian string. There must be enough place.
Referenced by run_scalar_tests(), secp256k1_fe_inv_var(), and secp256k1_scalar_inverse_var().
|
static |
Check whether a number is strictly negative.
Referenced by test_num_negate().
|
static |
Check whether a number is zero.
Referenced by scalar_test(), and test_num_negate().
|
static |
Replace a number by its remainder modulo m. M's sign is ignored. The result is a number between 0 and m-1, even if r was negative.
Referenced by scalar_test().
|
static |
Compute a modular inverse. The input must be less than the modulus.
Referenced by scalar_test(), secp256k1_fe_inv_var(), and secp256k1_scalar_inverse_var().
|
static |
Multiply two (signed) numbers.
Referenced by scalar_test().
|
static |
Change a number's sign.
Referenced by random_num_negate(), test_num_add_sub(), and test_num_negate().
|
static |
Set a number to the value of a binary big-endian string.
Referenced by scalar_test(), secp256k1_fe_inv_var(), secp256k1_scalar_get_num(), secp256k1_scalar_inverse_var(), and secp256k1_scalar_order_get_num().
|
static |
Right-shift the passed number by bits bits.
Referenced by scalar_test().
|
static |
Subtract two (signed) numbers.
Referenced by scalar_test(), test_num_add_sub(), and test_num_negate().