aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2019-01-24 18:40:02 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2019-02-03 17:34:26 -0800
commit1435fabc19d2143187efb493cbe23225eaf851ae (patch)
tree618b087accfdca7c0d5e9f7a3eeda51ce5c8b1f9 /src/key.cpp
parent72bd4ab867e3be0d8410403d9641c08288d343e3 (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