Lines Matching refs:entropy_store
491 struct entropy_store;
492 struct entropy_store { struct
507 static ssize_t extract_entropy(struct entropy_store *r, void *buf, argument
509 static ssize_t _extract_entropy(struct entropy_store *r, void *buf,
512 static void crng_reseed(struct crng_state *crng, struct entropy_store *r);
515 static struct entropy_store input_pool = {
536 static void _mix_pool_bytes(struct entropy_store *r, const void *in, in _mix_pool_bytes()
583 static void __mix_pool_bytes(struct entropy_store *r, const void *in, in __mix_pool_bytes()
590 static void mix_pool_bytes(struct entropy_store *r, const void *in, in mix_pool_bytes()
660 static void credit_entropy_bits(struct entropy_store *r, int nbits) in credit_entropy_bits()
730 static int credit_entropy_bits_safe(struct entropy_store *r, int nbits) in credit_entropy_bits_safe()
938 static void crng_reseed(struct crng_state *crng, struct entropy_store *r) in crng_reseed()
1144 struct entropy_store *r; in add_timer_randomness()
1247 struct entropy_store *r; in add_interrupt_randomness()
1320 static size_t account(struct entropy_store *r, size_t nbytes, int min, in account()
1369 static void extract_buf(struct entropy_store *r, __u8 *out) in extract_buf()
1423 static ssize_t _extract_entropy(struct entropy_store *r, void *buf, in _extract_entropy()
1462 static ssize_t extract_entropy(struct entropy_store *r, void *buf, in extract_entropy()
1749 static void __init init_std_data(struct entropy_store *r) in init_std_data()
1862 write_pool(struct entropy_store *r, const char __user *buffer, size_t count) in write_pool()
2275 struct entropy_store *poolp = &input_pool; in add_hwgenerator_randomness()