Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/hw_random/
H A 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()
512 rc = rng_get_data(rng, rng_fillbuf, in hwrng_fillfn()
535 add_hwgenerator_randomness((void *)rng_fillbuf, rc, in hwrng_fillfn()
706 rng_fillbuf = kmalloc(rng_buffer_size(), GFP_KERNEL); in hwrng_modinit()
707 if (!rng_fillbuf) { in hwrng_modinit()
714 kfree(rng_fillbuf); in hwrng_modinit()
726 kfree(rng_fillbuf); in hwrng_modexit()