Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/crypto/
Dprng.c40 static unsigned int prng_mode = PRNG_MODE_AUTO; variable
41 module_param_named(mode, prng_mode, int, 0);
42 MODULE_PARM_DESC(prng_mode, "PRNG mode: 0 - auto, 1 - TDES, 2 - SHA512");
656 if (prng_mode == PRNG_MODE_SHA512) in prng_counter_show()
680 if (prng_mode == PRNG_MODE_TDES) in prng_mode_show()
717 if (prng_mode == PRNG_MODE_SHA512) { in prng_reseed_limit_store()
777 if (prng_mode != PRNG_MODE_TDES) { in prng_init()
780 if (prng_mode == PRNG_MODE_SHA512) { in prng_init()
785 prng_mode = PRNG_MODE_TDES; in prng_init()
787 prng_mode = PRNG_MODE_SHA512; in prng_init()
[all …]