Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
testrand_impl.h
Go to the documentation of this file.
28 secp256k1_rfc6979_hmac_sha256_generate(&secp256k1_test_rng, (unsigned char*)(&secp256k1_test_rng_precomputed[0]), sizeof(secp256k1_test_rng_precomputed));
37 secp256k1_test_rng_integer |= (((uint64_t)secp256k1_rand32()) << secp256k1_test_rng_integer_bits_left);
59 static const int addbits[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 1, 0};
static void secp256k1_rfc6979_hmac_sha256_initialize(secp256k1_rfc6979_hmac_sha256 *rng, const unsigned char *key, size_t keylen)
static SECP256K1_INLINE uint32_t secp256k1_rand32(void)
Definition: testrand_impl.h:26
static int secp256k1_test_rng_integer_bits_left
Definition: testrand_impl.h:20
static SECP256K1_INLINE void secp256k1_rand_seed(const unsigned char *seed16)
Definition: testrand_impl.h:22
static secp256k1_rfc6979_hmac_sha256 secp256k1_test_rng
Definition: testrand_impl.h:16
static uint32_t secp256k1_test_rng_precomputed[8]
Definition: testrand_impl.h:17
static void secp256k1_rand256_test(unsigned char *b32)
Definition: testrand_impl.h:106
Definition: hash.h:31
static void secp256k1_rand_bytes_test(unsigned char *bytes, size_t len)
Definition: testrand_impl.h:90
static int secp256k1_test_rng_precomputed_used
Definition: testrand_impl.h:18
static void secp256k1_rfc6979_hmac_sha256_generate(secp256k1_rfc6979_hmac_sha256 *rng, unsigned char *out, size_t outlen)