Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/crypto/
Dprng.c96 struct prng_ws_s prngws; member
170 cpacf_kmc(CPACF_KMC_PRNG, prng_data->prngws.parm_block, in prng_tdes_add_entropy()
173 memcpy(prng_data->prngws.parm_block, entropy, sizeof(entropy)); in prng_tdes_add_entropy()
189 *((__u64 *)prng_data->prngws.parm_block) ^= *((__u64 *)(buf+i)); in prng_tdes_seed()
195 prng_data->prngws.reseed_counter = 0; in prng_tdes_seed()
216 memcpy(prng_data->prngws.parm_block, initial_parm_block, 32); in prng_tdes_instantiate()
496 if (prng_data->prngws.reseed_counter > prng_reseed_limit) in prng_tdes_read()
515 cpacf_kmc(CPACF_KMC_PRNG, prng_data->prngws.parm_block, in prng_tdes_read()
518 prng_data->prngws.byte_counter += n; in prng_tdes_read()
519 prng_data->prngws.reseed_counter += n; in prng_tdes_read()
[all …]