44 Commits (55509f1a11003837714071d05ea878b340757a76)

Author SHA1 Message Date
practicalswift bea8e9e66e Document the preference of nullptr over NULL or (void*)0 7 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 7 years ago
James Hilliard ee2d10ad0c Check if sys/random.h is required for getentropy on OSX. 7 years ago
Cory Fields 077d01f2fc random: only use getentropy on openbsd 7 years ago
practicalswift b82c55af78 Add attribute [[noreturn]] (C++11) to functions that will not return 7 years ago
Dag Robole a8ae0b252a Fix resource leak 7 years ago
Pieter Wuille 674848fe1c Clarify entropy source 7 years ago
Pieter Wuille a9e82f6512 Use cpuid intrinsics instead of asm code 7 years ago
Cory Fields 9af207c810 random: fix crash on some 64bit 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
Matt Corallo 399fb8f2d0 Add internal method to add new random data to our internal RNG state 8 years ago
Pieter Wuille 2c0a6f157d Use sanity check timestamps as entropy 8 years ago
Pieter Wuille 33f853d8d8 Test that GetPerformanceCounter() increments 8 years ago
Pieter Wuille f544094d5e Use hardware timestamps in RNG seeding 8 years ago
Pieter Wuille 97477c537e Maintain state across GetStrongRandBytes calls 8 years ago
Gregory Maxwell 6b3bb3d9ba Change LogAcceptCategory to use uint32_t rather than sets of strings. 8 years ago
Pieter Wuille 16329224e7 Switch FastRandomContext to ChaCha20 8 years ago
Wladimir J. van der Laan 7e6dcd9995 random: Add fallback if getrandom syscall not available 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 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
Karl-Johan Alm 8c1dbc5e9d Refactor: Removed begin/end_ptr functions. 8 years ago
Wladimir J. van der Laan 5eaaa83ac1 Kill insecure_random and associated global state 8 years ago
Pieter Wuille 628cf1440a Don't use assert for catching randomness failures 9 years ago
Pieter Wuille fa2637a3be Always require OS randomness when generating secret keys 9 years ago
MarcoFalke fa24439ff3 Bump copyright headers to 2015 9 years ago
21E14 32eaf8a3de WIN32 Seed Cleanup: Move nLastPerfmon behind win32 ifdef. 10 years ago
Cory Fields 1630219d90 openssl: abstract out OPENSSL_cleanse 10 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers 10 years ago
Michael Ford 78253fcbad Remove references to X11 licence 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 611116d4e3 header include cleanup 10 years ago
Wladimir J. van der Laan ad49c256c3 Split up util.cpp/h 10 years ago
Philip Kaufmann 4eedf4ffee make RandAddSeed() use OPENSSL_cleanse() 11 years ago
Philip Kaufmann 6354935c48 move rand functions from util to new random.h/.cpp 11 years ago