Lines Matching refs:fs_counter
110 uint128_t fs_counter; /* C */ member
328 fortuna_state.fs_counter = UINT128_ZERO; in random_fortuna_init_alg()
439 if (uint128_is_zero(fortuna_state.fs_counter)) in random_fortuna_reseed_internal()
441 uint128_increment(&fortuna_state.fs_counter); in random_fortuna_reseed_internal()
715 KASSERT(!uint128_is_zero(fortuna_state.fs_counter), ("FS&K: C != 0")); in random_fortuna_read_concurrent()
721 memcpy(&counter_copy, &fortuna_state.fs_counter, sizeof(counter_copy)); in random_fortuna_read_concurrent()
729 uint128_add64(&fortuna_state.fs_counter, blockcount); in random_fortuna_read_concurrent()
739 randomdev_keystream(&fortuna_state.fs_key, &fortuna_state.fs_counter, in random_fortuna_read_concurrent()
777 KASSERT(!uint128_is_zero(fortuna_state.fs_counter), ("FS&K: C != 0")); in random_fortuna_read()
780 &fortuna_state.fs_counter, &fortuna_state.fs_key, FORTUNA_LOCKED); in random_fortuna_read()
800 return (!uint128_is_zero(fortuna_state.fs_counter)); in random_fortuna_seeded_internal()