crypto_rng_alg(9)
okay so bestie, welcome to crypto_rng_alg(9) from the Kernel API Manual β sheβs a tiny little getter page and honestly? iconic. Letβs break it down πβ¨
πΈ NAME πΈ
crypto_rng_alg β obtain a struct rng_alg pointer from an RNG handle π
β¨ SYNOPSIS β¨
struct rng_alg * crypto_rng_alg (struct crypto_rng *tfm );
π ARGUMENTS π
tfmβ the RNG handle. Thatβs the whole vibe check: itβs the RNG handle this function is working from π
π¦ RETURN π¦
A pointer to struct rng_alg, derived from the tfm RNG handle. Periodt. π«Ά
π SEE ALSO π
- Kernel file
./include/crypto/rng.hβstruct rng_alg(9) crypto_stdrng_get_bytes(9)Random number generator API(9)crypto_alloc_rng(9)crypto_free_rng(9)crypto_rng_generate(9)crypto_rng_get_bytes(9)crypto_rng_reset(9)crypto_rng_seedsize(9)
and thatβs the whole page, bestie! mwah π brought to you by source ./include/crypto, dated October 2026, under the crypto_rng_alg(9) manual-page energy β see you in the kernel πππ¦
π¦ 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