aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
AgeCommit message (Expand)Author
2024-02-13scripted-diff: Fix bitcoin_config_h includesTheCharlatan
2023-11-07Merge bitcoin/bitcoin#26839: Add support for RNDR/RNDRRS for AArch64 on LinuxAndrew Chow
2023-09-29Add support for RNDR/RNDRRS for aarch64 on LinuxJohn Moffett
2023-09-12[refactor] Remove compat.h from kernel headersTheCharlatan
2023-08-17crypto: require key on ChaCha20 initializationPieter Wuille
2023-08-17random: simplify FastRandomContext::randbytes using fillrandPieter Wuille
2023-08-17crypto: refactor ChaCha20 classes to use Span<std::byte> interfacePieter Wuille
2023-06-30Allow FastRandomContext::randbytes for all byte typesMarcoFalke
2023-06-23Bench test for EllSwift ECDHPieter Wuille
2023-05-20random: switch to using getrandom() directlyfanquake
2023-05-20random: add [[maybe_unused]] to GetDevURandomfanquake
2023-05-20random: getentropy on macOS does not need unistd.hfanquake
2023-03-02Use steady clock in SeedStrengthen and FindBestImplementationMarcoFalke
2023-02-17random: consolidate WIN32 #ifdefsfanquake
2023-02-17random: remove compat.h includefanquake
2023-02-17random: use int for MAX_TRIESfanquake
2023-01-30Only support 32-byte keys in ChaCha20{,Aligned}Pieter Wuille
2023-01-30Use ChaCha20 caching in FastRandomContextPieter Wuille
2023-01-12doc: remove usages of C++11fanquake
2022-12-24scripted-diff: Bump copyright headersHennadii Stepanov
2022-09-23refactor: use <cstdlib> over stdlib.hfanquake
2022-07-20refactor: move compat.h into compat/fanquake
2022-06-21Use consistent wording in logIgor Bubelov
2022-05-17refactor: use C++11 default initializersfanquake
2022-05-16Merge bitcoin/bitcoin#25109: Strengthen AssertLockNotHeld assertionsMacroFake
2022-05-12Increase threadsafety annotation coverageAnthony Towns
2022-04-22refactor: make GetRand a template, remove GetRandIntpasta
2022-04-21Merge bitcoin/bitcoin#24213: refactor: use Span in random.*laanwj
2022-04-14lint: Convert lint-logs.sh to PythonDimitri
2022-03-23refactor: use Span in random.*pasta
2022-02-02build: remove unneeded getentropy detection (HAVE_GETENTROPY)Sebastian Falbesoner
2022-02-02random: use arc4random on OpenBSDSebastian Falbesoner
2022-01-13scripted-diff: replace PoissonNextSend with GetExponentialRandJohn Newbery
2022-01-13[refactor] Use uint64_t and std namespace in PoissonNextSendJohn Newbery
2022-01-13[move] Move PoissonNextSend to src/random and update commentJohn Newbery
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-05-04refactor: Replace &foo[0] with foo.data()MarcoFalke
2021-01-31refactor: replace sizeof(a)/sizeof(a[0]) by std::size (C++17)Sebastian Falbesoner
2020-08-10Merge #17563: lib: fix a compiler warning: unused GetDevURandom()fanquake
2020-05-15Merge #18781: Add templated GetRandDuration<>MarcoFalke
2020-05-03build: warn on potentially uninitialized readsVasil Dimov
2020-04-30Add templated GetRandomDuration<>MarcoFalke
2020-04-29Merge #18038: P2P: Mempool tracks locally submitted transactions to improve w...fanquake
2020-04-23[util] Add method that returns random time in millisecondsAmiti Uttarwar
2020-04-16scripted-diff: Bump copyright headersMarcoFalke
2020-03-20Fix a compiler warning: unused GetDevURandom()Vasil Dimov
2020-03-19build: fix sysctl() detection on macOSfanquake
2020-03-17doc: fix GetTimeMicros() comment in random.cppfanquake
2020-03-17rand: remove getentropy() fallback for macOS < 10.12fanquake
2019-12-30scripted-diff: Bump copyright of files changed in 2019MarcoFalke