Home
last modified time | relevance | path

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

/drivers/char/hw_random/
Dcore.c62 static u8 *rng_buffer, *rng_fillbuf; variable
91 bytes_read = rng_get_data(rng, rng_buffer, size, 1); in add_early_randomness()
94 add_device_randomness(rng_buffer, bytes_read); in add_early_randomness()
246 bytes_read = rng_get_data(rng, rng_buffer, in rng_dev_read()
268 if (copy_to_user(buf + ret, rng_buffer + data_avail, in rng_dev_read()
563 rng_buffer = kmalloc(rng_buffer_size(), GFP_KERNEL); in hwrng_modinit()
564 if (!rng_buffer) in hwrng_modinit()
569 kfree(rng_buffer); in hwrng_modinit()
576 kfree(rng_buffer); in hwrng_modinit()
586 kfree(rng_buffer); in hwrng_modexit()