random-util: eat up bad RDRAND values seen on AMD CPUs
authorMichael Biebl <biebl@debian.org>
Tue, 14 May 2019 11:12:35 +0000 (13:12 +0200)
committerMichael Biebl <biebl@debian.org>
Mon, 8 Jul 2019 09:27:51 +0000 (10:27 +0100)
commit4aa2ca1e66435811cb234acfd2d4fde7d2f98632
tree3c7aaaab73bec5ff8d6449baff6835c1ee7ab0cf
parent99f7fa7f7e05091c7c4fa5d1e779b15a52d096bd
random-util: eat up bad RDRAND values seen on AMD CPUs

An ugly, ugly work-around for #11810. And no, we shouldn't have to do
this. This is something for AMD, the firmware or the kernel to
fix/work-around, not us. But nonetheless, this should do it for now.

Fixes: #11810
(cherry picked from commit 1c53d4a070edbec8ad2d384ba0014d0eb6bae077)

Gbp-Pq: Name random-util-eat-up-bad-RDRAND-values-seen-on-AMD-CPUs.patch
src/basic/random-util.c