Lines Matching full:prng
9 #define KMSG_COMPONENT "prng"
33 MODULE_DESCRIPTION("s390 PRNG interface");
42 MODULE_PARM_DESC(prng_mode, "PRNG mode: 0 - auto, 1 - TDES, 2 - SHA512");
52 MODULE_PARM_DESC(prng_chunk_size, "PRNG read chunk size in bytes");
62 MODULE_PARM_DESC(prng_reseed_limit, "PRNG reseed limit");
226 pr_debug("prng runs in TDES mode with " in prng_tdes_instantiate()
241 /* initialize the PRNG, add 128 bits of entropy */ in prng_tdes_instantiate()
250 pr_debug("The prng module stopped " in prng_tdes_deinstantiate()
344 pr_err("The prng self test state test " in prng_sha512_selftest()
358 pr_err("The prng self test data test " in prng_sha512_selftest()
373 pr_debug("prng runs in SHA-512 mode " in prng_sha512_instantiate()
444 pr_debug("The prng module stopped after running in SHA-512 mode\n"); in prng_sha512_deinstantiate()
545 /* PRNG only likes multiples of 8 bytes */ in prng_tdes_read()
551 /* if the CPU supports PRNG stckf is present too */ in prng_tdes_read()
823 /* check if the CPU has a PRNG */ in prng_init()
831 /* choose prng mode */ in prng_init()
836 pr_err("The prng module cannot " in prng_init()