efi_random_get_seed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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


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