Searched refs:entropy_data (Results 1 – 1 of 1) sorted by relevance
92 typedef struct entropy_data { struct155 static entropy_data_t entropy_data = { argument209 lck_grp_init(&entropy_data.lock_group, "entropy-data", LCK_GRP_ATTR_NULL); in entropy_init()210 lck_mtx_init(&entropy_data.mutex, &entropy_data.lock_group, LCK_ATTR_NULL); in entropy_init()383 entropy_health_test_t *t = &entropy_data.repetition_count_test; in repetition_count_test()427 entropy_health_test_t *t = &entropy_data.adaptive_proportion_test; in adaptive_proportion_test()433 uint32_t index = (entropy_data.total_sample_count + offset) & ADAPTIVE_PROPORTION_INDEX_MASK; in adaptive_proportion_test()498 if (!lck_mtx_try_lock(&entropy_data.mutex)) { in entropy_provide()505 if (__improbable(!entropy_data.sha256_ctx_init)) { in entropy_provide()506 SHA256_Init(&entropy_data.sha256_ctx); in entropy_provide()[all …]