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()204 lck_grp_init(&entropy_data.lock_group, "entropy-data", LCK_GRP_ATTR_NULL); in entropy_init()205 lck_mtx_init(&entropy_data.mutex, &entropy_data.lock_group, LCK_ATTR_NULL); in entropy_init()378 entropy_health_test_t *t = &entropy_data.repetition_count_test; in repetition_count_test()422 entropy_health_test_t *t = &entropy_data.adaptive_proportion_test; in adaptive_proportion_test()428 uint32_t index = (entropy_data.total_sample_count + offset) & ADAPTIVE_PROPORTION_INDEX_MASK; in adaptive_proportion_test()486 if (!lck_mtx_try_lock(&entropy_data.mutex)) { in entropy_provide()504 …ount = entropy_filter(cpu_sample_count, e->samples, ENTROPY_MAX_FILTER_COUNT, entropy_data.filter); in entropy_provide()[all …]