Home
last modified time | relevance | path

Searched refs:rng_fillbuf (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/char/hw_random/
Dcore.c44 static u8 *rng_buffer, *rng_fillbuf; variable
72 bytes_read = rng_get_data(rng, rng_fillbuf, 32, 0); in add_early_randomness()
76 add_hwgenerator_randomness(rng_fillbuf, bytes_read, entropy, false); in add_early_randomness()
513 rc = rng_get_data(rng, rng_fillbuf, in hwrng_fillfn()
536 add_hwgenerator_randomness((void *)rng_fillbuf, rc, in hwrng_fillfn()
704 rng_fillbuf = kmalloc(rng_buffer_size(), GFP_KERNEL); in hwrng_modinit()
705 if (!rng_fillbuf) { in hwrng_modinit()
712 kfree(rng_fillbuf); in hwrng_modinit()
724 kfree(rng_fillbuf); in hwrng_modexit()