aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
AgeCommit message (Expand)Author
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
2017-04-24Merge #9792: FastRandomContext improvements and switch to ChaCha20Wladimir J. van der Laan
2017-04-01Change LogAcceptCategory to use uint32_t rather than sets of strings.Gregory Maxwell
2017-03-29Switch FastRandomContext to ChaCha20Pieter Wuille
2017-02-22random: Add fallback if getrandom syscall not availableWladimir J. van der Laan
2017-02-22sanity: Move OS random to sanity check functionWladimir J. van der Laan
2017-02-21util: Specific GetOSRandom for Linux/FreeBSD/OpenBSDWladimir J. van der Laan
2016-12-31Increment MIT Licence copyright header year on files modified in 2016isle2983
2016-12-09Refactor: Removed begin/end_ptr functions.Karl-Johan Alm
2016-10-17Kill insecure_random and associated global stateWladimir J. van der Laan
2016-05-29Don't use assert for catching randomness failuresPieter Wuille
2016-05-29Always require OS randomness when generating secret keysPieter Wuille
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-02-25WIN32 Seed Cleanup: Move nLastPerfmon behind win32 ifdef.21E14
2015-02-15openssl: abstract out OPENSSL_cleanseCory Fields
2014-12-19Added "Core" to copyright headerssandakersmann