Lines Matching refs:rand_data
63 struct rand_data { struct
125 static __u64 jent_loop_shuffle(struct rand_data *ec, in jent_loop_shuffle()
185 static __u64 jent_lfsr_time(struct rand_data *ec, __u64 time, __u64 loop_cnt) in jent_lfsr_time()
260 static unsigned int jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess()
319 static int jent_stuck(struct rand_data *ec, __u64 current_delta) in jent_stuck()
347 static int jent_measure_jitter(struct rand_data *ec) in jent_measure_jitter()
377 static void jent_gen_entropy(struct rand_data *ec) in jent_gen_entropy()
406 static void jent_fips_test(struct rand_data *ec) in jent_fips_test()
445 int jent_read_entropy(struct rand_data *ec, unsigned char *data, in jent_read_entropy()
475 struct rand_data *jent_entropy_collector_alloc(unsigned int osr, in jent_entropy_collector_alloc()
478 struct rand_data *entropy_collector; in jent_entropy_collector_alloc()
480 entropy_collector = jent_zalloc(sizeof(struct rand_data)); in jent_entropy_collector_alloc()
509 void jent_entropy_collector_free(struct rand_data *entropy_collector) in jent_entropy_collector_free()
524 struct rand_data ec = { 0 }; in jent_entropy_init()