HomePhabricator

[secp256k1] Make sure we get the requested number of bytes from /dev/urandom

Description

[secp256k1] Make sure we get the requested number of bytes from /dev/urandom

Summary: Backport PR499 from practicalswift

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: sickpig, tomtomtom7, teamcity

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

Details

Provenance
deadalnixAuthored on Apr 8 2018, 15:52
deadalnixPushed on Apr 9 2018, 15:23
Reviewer
Restricted Project
Differential Revision
D1258: [secp256k1] Make sure we get the requested number of bytes from /dev/urandom
Parents
rABC93a9cef6c613: [secp256k1] Support OpenSSL versions >= 1.1 for ENABLE_OPENSSL_TESTS
Branches
Unknown
Tags
Unknown