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.
Functions | |
static SECP256K1_INLINE void | secp256k1_rand_seed (const unsigned char *seed16) |
static SECP256K1_INLINE uint32_t | secp256k1_rand32 (void) |
static uint32_t | secp256k1_rand_bits (int bits) |
static uint32_t | secp256k1_rand_int (uint32_t range) |
static void | secp256k1_rand256 (unsigned char *b32) |
static void | secp256k1_rand_bytes_test (unsigned char *bytes, size_t len) |
static void | secp256k1_rand256_test (unsigned char *b32) |
Variables | |
static secp256k1_rfc6979_hmac_sha256 | secp256k1_test_rng |
static uint32_t | secp256k1_test_rng_precomputed [8] |
static int | secp256k1_test_rng_precomputed_used = 8 |
static uint64_t | secp256k1_test_rng_integer |
static int | secp256k1_test_rng_integer_bits_left = 0 |
Function Documentation
◆ secp256k1_rand256()
|
static |
Definition at line 86 of file testrand_impl.h.
References secp256k1_rfc6979_hmac_sha256_generate(), and secp256k1_test_rng.
◆ secp256k1_rand256_test()
|
static |
Definition at line 106 of file testrand_impl.h.
References secp256k1_rand_bytes_test().
◆ secp256k1_rand32()
|
static |
Definition at line 26 of file testrand_impl.h.
References secp256k1_rfc6979_hmac_sha256_generate(), secp256k1_test_rng, secp256k1_test_rng_precomputed, and secp256k1_test_rng_precomputed_used.
Referenced by secp256k1_rand_bits().
◆ secp256k1_rand_bits()
|
static |
Definition at line 34 of file testrand_impl.h.
References immer::detail::rbts::bits, secp256k1_rand32(), secp256k1_test_rng_integer, and secp256k1_test_rng_integer_bits_left.
Referenced by secp256k1_rand_bytes_test(), and secp256k1_rand_int().
◆ secp256k1_rand_bytes_test()
|
static |
Definition at line 90 of file testrand_impl.h.
References immer::detail::rbts::bits, and secp256k1_rand_bits().
Referenced by secp256k1_rand256_test().
◆ secp256k1_rand_int()
|
static |
Definition at line 47 of file testrand_impl.h.
References immer::detail::rbts::bits, and secp256k1_rand_bits().
◆ secp256k1_rand_seed()
|
static |
Definition at line 22 of file testrand_impl.h.
References secp256k1_rfc6979_hmac_sha256_initialize(), and secp256k1_test_rng.
Variable Documentation
◆ secp256k1_test_rng
|
static |
Definition at line 16 of file testrand_impl.h.
Referenced by secp256k1_rand256(), secp256k1_rand32(), and secp256k1_rand_seed().
◆ secp256k1_test_rng_integer
|
static |
Definition at line 19 of file testrand_impl.h.
Referenced by secp256k1_rand_bits().
◆ secp256k1_test_rng_integer_bits_left
|
static |
Definition at line 20 of file testrand_impl.h.
Referenced by secp256k1_rand_bits().
◆ secp256k1_test_rng_precomputed
|
static |
Definition at line 17 of file testrand_impl.h.
Referenced by secp256k1_rand32().
◆ secp256k1_test_rng_precomputed_used
|
static |
Definition at line 18 of file testrand_impl.h.
Referenced by secp256k1_rand32().