aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
AgeCommit message (Expand)Author
2024-07-01random: replace construct/assign with explicit Reseed()Pieter Wuille
2024-07-01random: use LogError for init failurePieter Wuille
2024-07-01random: cleanup order, comments, staticPieter Wuille
2024-07-01random: improve precision of MakeExponentiallyDistributedPieter Wuille
2024-07-01random: convert GetExponentialRand into rand_exp_durationPieter Wuille
2024-07-01random: make GetRand() support entire range (incl. max)Pieter Wuille
2024-07-01tests: overhaul deterministic test randomnessPieter Wuille
2024-07-01random: add RandomMixin::randbits with compile-known bitsPieter Wuille
2024-07-01random: refactor: move rand* utilities to RandomMixinPieter Wuille
2024-07-01random: add a few noexcepts to FastRandomContextPieter Wuille
2024-07-01random: move rand256() and randbytes() to .h filePieter Wuille
2024-07-01random: write rand256() in function of fillrand()Pieter Wuille
2024-05-01scripted-diff: Add IWYU pragma keep to bitcoin-config.h includesMarcoFalke
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