]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Retry calls to GetRNG() as needed 1571/head
authorMichael Brown <mcb30@ipxe.org>
Thu, 11 Dec 2025 14:04:10 +0000 (14:04 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 12 Dec 2025 07:33:55 +0000 (07:33 +0000)
commit86c40a8b1ef860c7c092226f95f9c8fe2d140edd
treeaf8397376858013e78bcb48feca73f115701a985
parentfb1188936ca29af61709afd8b866ea55d4a05a67
[efi] Retry calls to GetRNG() as needed

The UEFI specification allows GetRNG() to return EFI_NOT_READY, which
is not a particularly helpful error status since there is nothing that
can sensibly be done except to retry immediately.

Retry failed calls to GetRNG() up to a maximum number of attempts.

Debugged-by: Stoo Davies <sdavies@nvidia.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_rng.c