Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/hw_random/
H A Doptee-rng.c78 size_t rng_size = 0; in get_optee_rng_data() local
109 rng_size = param[0].u.memref.size; in get_optee_rng_data()
110 memcpy(buf, rng_data, rng_size); in get_optee_rng_data()
112 return rng_size; in get_optee_rng_data()
118 size_t read = 0, rng_size; in optee_rng_read() local
126 rng_size = get_optee_rng_data(pvt_data, data, (max - read)); in optee_rng_read()
128 data += rng_size; in optee_rng_read()
129 read += rng_size; in optee_rng_read()