Lines Matching refs:rand_data
64 struct rand_data { struct
183 static void jent_apt_init(struct rand_data *ec, unsigned int osr) in jent_apt_init()
205 static void jent_apt_reset(struct rand_data *ec, unsigned int delta_masked) in jent_apt_reset()
219 static void jent_apt_insert(struct rand_data *ec, unsigned int delta_masked) in jent_apt_insert()
266 static void jent_rct_insert(struct rand_data *ec, int stuck) in jent_rct_insert()
322 static int jent_stuck(struct rand_data *ec, __u64 current_delta) in jent_stuck()
360 static unsigned int jent_health_failure(struct rand_data *ec) in jent_health_failure()
423 static int jent_condition_data(struct rand_data *ec, __u64 time, int stuck) in jent_condition_data()
466 static void jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess()
520 static int jent_measure_jitter(struct rand_data *ec, __u64 *ret_current_delta) in jent_measure_jitter()
557 static void jent_gen_entropy(struct rand_data *ec) in jent_gen_entropy()
604 int jent_read_entropy(struct rand_data *ec, unsigned char *data, in jent_read_entropy()
657 struct rand_data *jent_entropy_collector_alloc(unsigned int osr, in jent_entropy_collector_alloc()
661 struct rand_data *entropy_collector; in jent_entropy_collector_alloc()
663 entropy_collector = jent_zalloc(sizeof(struct rand_data)); in jent_entropy_collector_alloc()
700 void jent_entropy_collector_free(struct rand_data *entropy_collector) in jent_entropy_collector_free()
708 struct rand_data *p_ec) in jent_entropy_init()
715 struct rand_data *ec = p_ec; in jent_entropy_init()