Lines Matching refs:rand_data
63 struct rand_data { struct
133 static __u64 jent_loop_shuffle(struct rand_data *ec, in jent_loop_shuffle()
202 static __u64 jent_fold_time(struct rand_data *ec, __u64 time, in jent_fold_time()
259 static unsigned int jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess()
319 static void jent_stuck(struct rand_data *ec, __u64 current_delta) in jent_stuck()
346 static __u64 jent_measure_jitter(struct rand_data *ec) in jent_measure_jitter()
389 static __u64 jent_unbiased_bit(struct rand_data *entropy_collector) in jent_unbiased_bit()
421 static void jent_stir_pool(struct rand_data *entropy_collector) in jent_stir_pool()
475 static void jent_gen_entropy(struct rand_data *ec) in jent_gen_entropy()
545 static void jent_fips_test(struct rand_data *ec) in jent_fips_test()
584 int jent_read_entropy(struct rand_data *ec, unsigned char *data, in jent_read_entropy()
614 struct rand_data *jent_entropy_collector_alloc(unsigned int osr, in jent_entropy_collector_alloc()
617 struct rand_data *entropy_collector; in jent_entropy_collector_alloc()
619 entropy_collector = jent_zalloc(sizeof(struct rand_data)); in jent_entropy_collector_alloc()
654 void jent_entropy_collector_free(struct rand_data *entropy_collector) in jent_entropy_collector_free()