Lines Matching refs:prng_reseed_limit
60 static unsigned int prng_reseed_limit; variable
61 module_param_named(reseed_limit, prng_reseed_limit, int, 0);
62 MODULE_PARM_DESC(prng_reseed_limit, "PRNG reseed limit");
205 prng_chunk_size, prng_reseed_limit); in prng_tdes_instantiate()
352 prng_chunk_size, prng_reseed_limit); in prng_sha512_instantiate()
429 if (prng_data->prnows.reseed_counter > prng_reseed_limit) { in prng_sha512_generate()
496 if (prng_data->prngws.reseed_counter > prng_reseed_limit) in prng_tdes_read()
706 return snprintf(buf, PAGE_SIZE, "%u\n", prng_reseed_limit); in prng_reseed_limit_show()
725 prng_reseed_limit = limit; in prng_reseed_limit_store()
799 if (prng_reseed_limit == 0) in prng_init()
800 prng_reseed_limit = PRNG_RESEED_LIMIT_SHA512; in prng_init()
801 else if (prng_reseed_limit < PRNG_RESEED_LIMIT_SHA512_LOWER) in prng_init()
830 if (prng_reseed_limit == 0) in prng_init()
831 prng_reseed_limit = PRNG_RESEED_LIMIT_TDES; in prng_init()
832 else if (prng_reseed_limit < PRNG_RESEED_LIMIT_TDES_LOWER) in prng_init()