HomePhabricator

Remove hwrand_initialized.

Description

Remove hwrand_initialized.

Summary:
All access to hwrand is now gated by GetRNGState, which initializes the hwrand code.

Partial backport of Core PR14955
https://github.com/bitcoin/bitcoin/pull/14955/commits/4ea8e50837a0932b31a241988fd68d6730a2048a

Depends on D4396

Test Plan:

make check

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: Fabien, O1 Bitcoin ABC, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D4397

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Dec 18 2018, 00:22
nakihitoCommitted on Nov 8 2019, 18:56
nakihitoPushed on Nov 8 2019, 18:57
Reviewer
Restricted Owners Package
Differential Revision
D4397: Remove hwrand_initialized.
Parents
rABC574d5797e044: Sprinkle some sweet noexcepts over the RNG code
Branches
Unknown
Tags
Unknown

Event Timeline

Nico Guiton <nico@bitframe.org> committed rABCaf8c85a3613a: Remove hwrand_initialized. (authored by Pieter Wuille <pieter.wuille@gmail.com>).Nov 8 2019, 18:56