Searched refs:rng_fillbuf (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/char/hw_random/ |
D | core.c | 42 static u8 *rng_buffer, *rng_fillbuf; variable 70 bytes_read = rng_get_data(rng, rng_fillbuf, 32, 0); in add_early_randomness() 73 add_device_randomness(rng_fillbuf, bytes_read); in add_early_randomness() 507 rc = rng_get_data(rng, rng_fillbuf, in hwrng_fillfn() 530 add_hwgenerator_randomness((void *)rng_fillbuf, rc, in hwrng_fillfn() 692 rng_fillbuf = kmalloc(rng_buffer_size(), GFP_KERNEL); in hwrng_modinit() 693 if (!rng_fillbuf) { in hwrng_modinit() 700 kfree(rng_fillbuf); in hwrng_modinit() 712 kfree(rng_fillbuf); in hwrng_modexit()
|