Searched refs:fs_counter (Results 1 – 1 of 1) sorted by relevance
110 uint128_t fs_counter; /* C */ member328 fortuna_state.fs_counter = UINT128_ZERO; in random_fortuna_init_alg()432 if (uint128_is_zero(fortuna_state.fs_counter)) in random_fortuna_reseed_internal()434 uint128_increment(&fortuna_state.fs_counter); in random_fortuna_reseed_internal()708 KASSERT(!uint128_is_zero(fortuna_state.fs_counter), ("FS&K: C != 0")); in random_fortuna_read_concurrent()714 memcpy(&counter_copy, &fortuna_state.fs_counter, sizeof(counter_copy)); in random_fortuna_read_concurrent()722 uint128_add64(&fortuna_state.fs_counter, blockcount); in random_fortuna_read_concurrent()732 randomdev_keystream(&fortuna_state.fs_key, &fortuna_state.fs_counter, in random_fortuna_read_concurrent()770 KASSERT(!uint128_is_zero(fortuna_state.fs_counter), ("FS&K: C != 0")); in random_fortuna_read()773 &fortuna_state.fs_counter, &fortuna_state.fs_key, FORTUNA_LOCKED); in random_fortuna_read()[all …]