aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
AgeCommit message (Expand)Author
2019-02-03Use RdSeed when available, and reduce RdRand loadPieter Wuille
2019-02-02test: Make bloom tests deterministicMarcoFalke
2019-01-16Document RNG design in random.hPieter Wuille
2019-01-16Use secure allocator for RNG statePieter Wuille
2019-01-16Encapsulate RNGState betterPieter Wuille
2019-01-16DRY: Implement GetRand using FastRandomContext::randrangePieter Wuille
2019-01-16Sprinkle some sweet noexcepts over the RNG codePieter Wuille
2019-01-16Remove hwrand_initialized.Pieter Wuille
2019-01-16Switch all RNG code to the built-in PRNG.Pieter Wuille
2019-01-16Integrate util/system's CInit into RNGStatePieter Wuille
2019-01-16Abstract out seeding/extracting entropy into RNGState::MixExtractPieter Wuille
2019-01-16Add thread safety annotations to RNG statePieter Wuille
2019-01-16Rename some hardware RNG related functionsPieter Wuille
2019-01-16Automatically initialize RNG on first use.Pieter Wuille
2019-01-16Don't log RandAddSeedPerfmon detailsPieter Wuille
2018-12-12Do not permit copying FastRandomContextsPieter Wuille
2018-12-12Bugfix: randbytes should seed when needed (non reachable issue)Pieter Wuille
2018-11-04scripted-diff: Move util files to separate directory.Jim Posen
2018-08-31scripted-diff: Small locking renameRussell Yanofsky
2018-08-31Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSectionWladimir J. van der Laan
2018-08-03Use LOCK macros for non-recursive locksRussell Yanofsky
2018-07-27Update copyright headers to 2018DrahtBot
2018-05-24Fix FreeBSD build by including utilstrencodings.hWladimir J. van der Laan
2018-05-17break circular dependency: random/sync -> util -> random/syncChun Kuan Lee
2018-05-03Make it clear which functions that are intended to be translation unit localpracticalswift
2018-04-09Remove duplicate includespracticalswift
2018-01-03Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa
2017-11-16scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider
2017-08-22Merge #10843: Add attribute [[noreturn]] (C++11) to functions that will not r...Wladimir J. van der Laan
2017-08-18Document the preference of nullptr over NULL or (void*)0practicalswift
2017-08-14Merge #10483: scripted-diff: Use the C++11 keyword nullptr to denote the poin...Wladimir J. van der Laan
2017-08-07scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal in...practicalswift
2017-07-27Check if sys/random.h is required for getentropy on OSX.James Hilliard
2017-07-17random: only use getentropy on openbsdCory Fields
2017-07-17Add attribute [[noreturn]] (C++11) to functions that will not returnpracticalswift
2017-07-17Merge #10837: Fix resource leak on error in GetDevURandomWladimir J. van der Laan
2017-07-15Fix resource leakDag Robole
2017-07-14Clarify entropy sourcePieter Wuille
2017-07-13Use cpuid intrinsics instead of asm codePieter Wuille
2017-06-16random: fix crash on some 64bit platformsCory Fields
2017-06-14Merge #10377: Use rdrand as entropy source on supported platformsWladimir J. van der Laan
2017-06-13Use rdrand as entropy source on supported platformsPieter Wuille
2017-06-05Add FastRandomContext::rand256() and ::randbytes()Pieter Wuille
2017-05-22Add perf counter data to GetStrongRandBytes state in schedulerMatt Corallo
2017-05-22Add internal method to add new random data to our internal RNG stateMatt Corallo
2017-05-09Merge #10338: Maintain state across GetStrongRandBytes callsPieter Wuille
2017-05-05Use sanity check timestamps as entropyPieter Wuille
2017-05-05Test that GetPerformanceCounter() incrementsPieter Wuille
2017-05-05Use hardware timestamps in RNG seedingPieter Wuille
2017-05-04Maintain state across GetStrongRandBytes callsPieter Wuille