Home
last modified time | relevance | path

Searched refs:rand_data (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/crypto/
Dansi_cprng.c48 unsigned char rand_data[DEFAULT_BLK_SZ]; member
126 output = ctx->rand_data; in _get_more_prng_bytes()
133 if (!memcmp(ctx->rand_data, ctx->last_rand_data, in _get_more_prng_bytes()
147 memcpy(ctx->last_rand_data, ctx->rand_data, in _get_more_prng_bytes()
154 xor_vectors(ctx->rand_data, ctx->I, tmp, in _get_more_prng_bytes()
182 hexdump("New Random Data: ", ctx->rand_data, DEFAULT_BLK_SZ); in _get_more_prng_bytes()
234 *ptr = ctx->rand_data[ctx->rand_data_valid]; in get_prng_bytes()
256 memcpy(ptr, ctx->rand_data, DEFAULT_BLK_SZ); in get_prng_bytes()
304 memset(ctx->rand_data, 0, DEFAULT_BLK_SZ); in reset_prng_context()