diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-01-24 18:40:02 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2019-02-03 17:34:26 -0800 |
commit | 1435fabc19d2143187efb493cbe23225eaf851ae (patch) | |
tree | 618b087accfdca7c0d5e9f7a3eeda51ce5c8b1f9 /src/key.cpp | |
parent | 72bd4ab867e3be0d8410403d9641c08288d343e3 (diff) |
Use RdSeed when available, and reduce RdRand load
This introduces support for autodetecting and using the RdSeed instruction.
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).
Diffstat (limited to 'src/key.cpp')
0 files changed, 0 insertions, 0 deletions