Skip to content

Fix incorrect documentation for EFI_RNG_GET_RNG - #4048

Open
Josh Triplett (joshtriplett) wants to merge 1 commit into
MicrosoftDocs:stagingfrom
joshtriplett:efi-rng-getrng-fix
Open

Fix incorrect documentation for EFI_RNG_GET_RNG#4048
Josh Triplett (joshtriplett) wants to merge 1 commit into
MicrosoftDocs:stagingfrom
joshtriplett:efi-rng-getrng-fix

Conversation

@joshtriplett

Copy link
Copy Markdown

EFI_RNG_GET_RNG is incorrectly described as returning an allocated
buffer that the caller must free. It fills in a user-provided buffer.

Update the documentation and error codes, based on
https://uefi.org/specs/UEFI/2.11/37_Secure_Technologies.html#efi-rng-protocol-getrng.


EFI_RNG_GET_INFO appears to have a similar bug, and needs updating from
https://uefi.org/specs/UEFI/2.11/37_Secure_Technologies.html#efi-rng-protocol-getinfo
. One bug at a time, though; this PR is for the bug I actually ran into.

`EFI_RNG_GET_RNG` is incorrectly described as returning an allocated
buffer that the caller must free. It fills in a user-provided buffer.

Update the documentation and error codes, based on
<https://uefi.org/specs/UEFI/2.11/37_Secure_Technologies.html#efi-rng-protocol-getrng>.
@prmerger-automator

Copy link
Copy Markdown
Contributor

Josh Triplett (@joshtriplett) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@prmerger-automator

Copy link
Copy Markdown
Contributor

Josh Triplett (@joshtriplett) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit a95bd91:

✅ Validation status: passed

File Status Preview URL Details
windows-driver-docs-pr/bringup/efi-rng-protocol-getrng.md ✅Succeeded

For more details, please refer to the build report.

@xxxfly

翔翔翔飞 (xxxfly) commented Aug 2, 2026 via email

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants