Searched refs:seedlen (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/arch/s390/crypto/ |
D | prng.c | 370 int ret, datalen, seedlen; in prng_sha512_instantiate() local 401 seedlen = 2 * 32; in prng_sha512_instantiate() 402 cpacf_trng(NULL, 0, seed, seedlen); in prng_sha512_instantiate() 410 seedlen = 2 * 64; in prng_sha512_instantiate() 411 ret = generate_entropy(seed, seedlen); in prng_sha512_instantiate() 412 if (ret != seedlen) in prng_sha512_instantiate() 417 store_tod_clock_ext((union tod_clock *)(seed + seedlen)); in prng_sha512_instantiate() 418 seedlen += 16; in prng_sha512_instantiate() 422 &prng_data->prnows, NULL, 0, seed, seedlen); in prng_sha512_instantiate() 451 int ret, seedlen; in prng_sha512_reseed() local [all …]
|
/Linux-v5.15/crypto/ |
D | algif_rng.c | 277 static int rng_setkey(void *private, const u8 *seed, unsigned int seedlen) in rng_setkey() argument 284 return crypto_rng_reset(pctx->drng, seed, seedlen); in rng_setkey()
|