Commit Graph

34 Commits (80f52a2267f44a9cae4440615df3ff989be1579c)

Author SHA1 Message Date
Pieter Wuille 1435fabc19 Use RdSeed when available, and reduce RdRand load
6 years ago
Pieter Wuille 223de8d94d Document RNG design in random.h
6 years ago
Pieter Wuille a1f252eda8 Sprinkle some sweet noexcepts over the RNG code
6 years ago
Pieter Wuille 9d7032e4f0 Switch all RNG code to the built-in PRNG.
6 years ago
Pieter Wuille 05fde14e3a Automatically initialize RNG on first use.
6 years ago
Pieter Wuille e414486d56 Do not permit copying FastRandomContexts
6 years ago
Pieter Wuille 3db746beb4 Introduce a Shuffle for FastRandomContext and use it in wallet and coinselection
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
MarcoFalke f686002a8e
Merge #12742: Make FastRandomContext support standard C++11 RNG interface
7 years ago
Dimitris Apostolou 4d9b4256d8 Fix typos
7 years ago
Pieter Wuille 1ec1602a45 Make FastRandomContext support standard C++11 RNG interface
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
Wladimir J. van der Laan 68e021e3a3
Merge #11558: Minimal code changes to allow msvc compilation
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
Aaron Clauson fbf327b138 Minimal code changes to allow msvc compilation.
7 years ago
Wladimir J. van der Laan b63be2c685
Merge #10377: Use rdrand as entropy source on supported platforms
8 years ago
Pieter Wuille cb24c8539d Use rdrand as entropy source on supported platforms
8 years ago
Pieter Wuille 37e864eb9f Add FastRandomContext::rand256() and ::randbytes()
8 years ago
Matt Corallo 888cce57a6 Add perf counter data to GetStrongRandBytes state in scheduler
8 years ago
Pieter Wuille 4fd2d2fc97 Add a FastRandomContext::randrange and use it
8 years ago
Pieter Wuille 16329224e7 Switch FastRandomContext to ChaCha20
8 years ago
Pieter Wuille c21cbe61c6 Introduce FastRandomContext::randbool()
8 years ago
Wladimir J. van der Laan 7cad849299 sanity: Move OS random to sanity check function
8 years ago
Wladimir J. van der Laan aa09ccbb74 squashme: comment that NUM_OS_RANDOM_BYTES should not be changed lightly
8 years ago
Wladimir J. van der Laan 224e6eb089 util: Specific GetOSRandom for Linux/FreeBSD/OpenBSD
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Wladimir J. van der Laan 5eaaa83ac1 Kill insecure_random and associated global state
8 years ago
Pieter Wuille fa2637a3be Always require OS randomness when generating secret keys
9 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers
10 years ago
Michael Ford 78253fcbad Remove references to X11 licence
10 years ago
Pavel Janík 3a05ba1bfc Fix typo in doxygen comment.
10 years ago
Wladimir J. van der Laan 65e3a1e762
Make sure that GetRandomBytes never fails
10 years ago
Pieter Wuille 20e01b1a03 Apply clang-format on some infrequently-updated files
10 years ago
Philip Kaufmann 6354935c48 move rand functions from util to new random.h/.cpp
11 years ago