diff options
Diffstat (limited to 'src/testrand.h')
-rw-r--r-- | src/testrand.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testrand.h b/src/testrand.h index 018b65cd53..041bb92c47 100644 --- a/src/testrand.h +++ b/src/testrand.h @@ -11,8 +11,10 @@ #include "libsecp256k1-config.h" #endif -/** Seed the pseudorandom number generator. */ -SECP256K1_INLINE static void secp256k1_rand_seed(uint64_t v); +/* A non-cryptographic RNG used only for test infrastructure. */ + +/** Seed the pseudorandom number generator for testing. */ +SECP256K1_INLINE static void secp256k1_rand_seed(const unsigned char *seed16); /** Generate a pseudorandom 32-bit number. */ static uint32_t secp256k1_rand32(void); |