Lines Matching refs:seed
261 static const u8 seed[] __initconst = { in prng_sha512_selftest() local
339 &ws, NULL, 0, seed, sizeof(seed)); in prng_sha512_selftest()
371 u8 seed[128 + 16]; in prng_sha512_instantiate() local
402 cpacf_trng(NULL, 0, seed, seedlen); in prng_sha512_instantiate()
411 ret = generate_entropy(seed, seedlen); in prng_sha512_instantiate()
417 store_tod_clock_ext((union tod_clock *)(seed + seedlen)); in prng_sha512_instantiate()
422 &prng_data->prnows, NULL, 0, seed, seedlen); in prng_sha512_instantiate()
423 memzero_explicit(seed, sizeof(seed)); in prng_sha512_instantiate()
452 u8 seed[64]; in prng_sha512_reseed() local
458 cpacf_trng(NULL, 0, seed, seedlen); in prng_sha512_reseed()
462 ret = generate_entropy(seed, seedlen); in prng_sha512_reseed()
463 if (ret != sizeof(seed)) in prng_sha512_reseed()
469 &prng_data->prnows, NULL, 0, seed, seedlen); in prng_sha512_reseed()
470 memzero_explicit(seed, sizeof(seed)); in prng_sha512_reseed()