summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Random.cpp
AgeCommit message (Collapse)Author
2023-02-22use std-provided randomness for JitArm64 unittestsShawn Hoffman
decreases runtime significantly and lessens dependency on mbedtls
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-01-31Random: Add seeded PRNGMerryMage
2018-05-31Common: Add Random utilitiesLéo Lam
This makes it easier to generate random numbers or fill a buffer with random data in a cryptographically secure way. This also replaces existing usages of RNG functions in the codebase: * <random> is pretty hard to use correctly, and std::random_device does not give enough guarantees about its results (it's implementation-defined, non cryptographically secure and could be deterministic on some platforms). Doing things correctly is error prone and verbose. * rand() is terrible and should not be used especially in crypto code.