Searched refs:entropy_data (Results 1 – 1 of 1) sorted by relevance
92 typedef struct entropy_data { struct148 static entropy_data_t entropy_data = { argument202 SHA512_Init(&entropy_data.sha512_ctx); in entropy_init()203 SHA512_Update(&entropy_data.sha512_ctx, seed, seed_size); in entropy_init()205 lck_grp_init(&entropy_data.lock_group, "entropy-data", LCK_GRP_ATTR_NULL); in entropy_init()206 lck_mtx_init(&entropy_data.mutex, &entropy_data.lock_group, LCK_ATTR_NULL); in entropy_init()379 entropy_health_test_t *t = &entropy_data.repetition_count_test; in repetition_count_test()423 entropy_health_test_t *t = &entropy_data.adaptive_proportion_test; in adaptive_proportion_test()429 uint32_t index = (entropy_data.total_sample_count + offset) & ADAPTIVE_PROPORTION_INDEX_MASK; in adaptive_proportion_test()487 if (!lck_mtx_try_lock(&entropy_data.mutex)) { in entropy_provide()[all …]