diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-02-18 10:55:34 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-02-18 10:56:55 +0100 |
commit | 29e82e460e19818b420e7169ac8ed5248d6d0af9 (patch) | |
tree | ef6feeda051f7af62767a503ce6753ddbde05a86 /src/init.cpp | |
parent | f5a623eb66c81d9d7b11206d574430af0127546d (diff) | |
parent | 1435fabc19d2143187efb493cbe23225eaf851ae (diff) |
Merge #15250: Use RdSeed when available, and reduce RdRand load
1435fabc19d2143187efb493cbe23225eaf851ae Use RdSeed when available, and reduce RdRand load (Pieter Wuille)
Pull request description:
This introduces support for autodetecting and using the RdSeed instruction on x86/x86_64 systems.
In addition:
* In SeedFast, only 64 bits of entropy are generated through RdRand (256 was relatively slow).
* In SeedStartup, 256 bits of entropy are generated, using RdSeed (preferably) or RdRand (otherwise).
Tree-SHA512: fb7d3e22e93e14592f4b07282aa79d7c3cc4e9debdd9978580b8d2562bbad345e289bf3f80de2c50c9b50b8bac2aa9b838f9f272f7f8d43f1efc0913aa8acce3
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions