Tim Ruffing a310e79ee5
Merge bitcoin-core/secp256k1#1052: Use xoshiro256++ instead of RFC6979 for tests
77a19750b46916b93bb6a08837c26f585bd940fa Use xoshiro256++ PRNG instead of RFC6979 in tests (Pieter Wuille)
5f2efe684ecca8f767f98ee0ace813103cc88ade secp256k1_testrand_int(2**N) -> secp256k1_testrand_bits(N) (Pieter Wuille)

Pull request description:

  Just some easy low-hanging fruit. It's complete overkill to use the RFC6979 RNG for our test randomness. Replace it with a modern non-cryptographic RNG with good properties. It's a few % speedup for me.

  Given the internal naming of all these functions to be "testrand", I'm not concerned about the risk of someone using this for something that needs actual cryptographic randomness.

ACKs for top commit:
  robot-dreams:
    ACK 77a19750b46916b93bb6a08837c26f585bd940fa
  real-or-random:
    utACK 77a19750b46916b93bb6a08837c26f585bd940fa

Tree-SHA512: 2706f37689e037e84b5df25c98af924c0756e6d59f5f822b23aec5ba381b2d536e0848f134026e2568396427218f1c770f1bb07613d702efb23a84015dc9271d
2021-12-25 19:21:21 +01:00
..
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2021-12-04 22:47:30 +05:30
2021-12-04 22:47:30 +05:30
2021-08-20 11:11:26 -04:00
2021-08-20 11:11:26 -04:00
2021-08-20 11:11:26 -04:00
2021-08-20 11:11:26 -04:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2021-03-15 13:01:52 -07:00
2021-03-15 13:01:52 -07:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2021-12-18 16:12:34 -05:00
2021-12-18 16:12:34 -05:00
2021-12-18 16:12:34 -05:00
2021-12-18 16:12:34 -05:00
2021-03-12 10:06:18 -08:00
2020-12-18 00:24:22 +02:00
2021-03-12 10:06:18 -08:00
2020-12-18 00:24:22 +02:00
2021-11-13 02:12:47 +02:00
2021-03-12 10:06:18 -08:00
2020-12-18 00:24:22 +02:00
2021-03-15 13:01:52 -07:00
2021-01-23 14:48:35 -05:00
2020-12-18 00:24:22 +02:00