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)
committerAdrian Bunk <bunk@debian.org>
Thu, 30 Mar 2023 19:32:31 +0000 (20:32 +0100)
commitc33a91d50852eb56684c0403a19bd9d87e6f5ef5
treee2825946fd8d920d8faafa6a93fddbb5dcd190c8
parent364ca00f4b6a0cd4c98a3d3af4d9be4757d06161
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