efi_random_get_seed(9)
π efi_random_get_seed(9)
okay so bestie, welcome to the Kernel API Manual page for efi_random_get_seed β¨ this one's short but it's iconic β it's literally how the kernel gets its first lil sip of randomness from EFI. stay with me π«Ά
πΈ NAME
efi_random_get_seed β provide random seed as configuration table π
β¨ SYNOPSIS
efi_status_t efi_random_get_seed (void );
π¦ ARGUMENTS
voidβ no arguments. nada. zero. she takes nothing and gives you entropy, main character energy fr fr π
π DESCRIPTION
so here's the tea β β the EFI_RNG_PROTOCOL is what's used to read random bytes. those random bytes get saved as a configuration table, and the kernel can then use that table as entropy for initializing its pseudo random number generator. it's giving "seed the vibes" π±β¨
and likeβ¦ if the EFI_RNG_PROTOCOL is not available, or there just aren't enough random bytes available? then the configuration table will not be installed, and an error code will be returned. no table, no seed, no cap π
π₯ RETURN
status code β that's it, that's the whole return value π
π SEE ALSO
- Kernel file
./drivers/firmware/efi/libstub/random.c efi_get_random_bytes(9)
and that's a wrap, bestie π§π this lil page came to you straight from ./drivers/firmware/efi/libstub, dated October 2026 β go forth and seed responsibly πβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms