Home
last modified time | relevance | path

Searched refs:ys_counter (Results 1 - 1 of 1) sorted by relevance

/third_party/FreeBSD/sys/dev/random/
H A Dyarrow.c91 uint128_t ys_counter; /* C */ member
202 yarrow_state.ys_counter = UINT128_ZERO; in random_yarrow_init_alg()
313 yarrow_state.ys_counter = UINT128_ZERO; in random_yarrow_reseed_internal()
314 randomdev_encrypt(&yarrow_state.ys_key, &yarrow_state.ys_counter, &temp, RANDOM_BLOCKSIZE); in random_yarrow_reseed_internal()
315 yarrow_state.ys_counter = temp; in random_yarrow_reseed_internal()
351 uint128_increment(&yarrow_state.ys_counter); in random_yarrow_generator_gate()
353 randomdev_encrypt(&yarrow_state.ys_key, &yarrow_state.ys_counter, temp + i, RANDOM_BLOCKSIZE); in random_yarrow_generator_gate()
389 uint128_increment(&yarrow_state.ys_counter); in random_yarrow_read()
390 randomdev_encrypt(&yarrow_state.ys_key, &yarrow_state.ys_counter, buf, RANDOM_BLOCKSIZE); in random_yarrow_read()

Completed in 1 milliseconds