random: convert XoRoShiRo128PlusPlus into full RNG
Convert XoRoShiRo128PlusPlus into a full RandomMixin-based RNG class, providing all utility functionality that FastRandomContext has. In doing so, it is renamed to InsecureRandomContext, highlighting its non-cryptographic nature. To do this, a fillrand fallback is added to RandomMixin (where it is used by InsecureRandomContext), but FastRandomContext still uses its own fillrand.
This commit is contained in:
1 parent
8cc2f45065
commit
6cfdc5b104
9 files changed
+68
-102
No files matched your search
@@ -57,8 +57,8 @@ unsigned-integer-overflow:CBlockPolicyEstimator::processBlockTx
|
||||
unsigned-integer-overflow:TxConfirmStats::EstimateMedianVal
|
||||
unsigned-integer-overflow:prevector.h
|
||||
unsigned-integer-overflow:EvalScript
|
||||
unsigned-integer-overflow:XoRoShiRo128PlusPlus::operator()
|
||||
unsigned-integer-overflow:XoRoShiRo128PlusPlus::SplitMix64
|
||||
unsigned-integer-overflow:InsecureRandomContext::rand64
|
||||
unsigned-integer-overflow:InsecureRandomContext::SplitMix64
|
||||
unsigned-integer-overflow:bitset_detail::PopCount
|
||||
implicit-integer-sign-change:CBlockPolicyEstimator::processBlockTx
|
||||
implicit-integer-sign-change:SetStdinEcho
|
||||
@@ -76,6 +76,6 @@ shift-base:arith_uint256.cpp
|
||||
shift-base:crypto/
|
||||
shift-base:streams.h
|
||||
shift-base:FormatHDKeypath
|
||||
shift-base:XoRoShiRo128PlusPlus::operator()
|
||||
shift-base:InsecureRandomContext::rand64
|
||||
shift-base:RandomMixin<*>::randbits
|
||||
shift-base:RandomMixin<*>::randbits<*>
|
||||
Reference in new issue
Block a user