Searched refs:getrandom_out (Results 1 – 3 of 3) sorted by relevance
99 struct tpm2_get_random_out getrandom_out; member351 num_bytes = min_t(u32, max, sizeof(cmd.params.getrandom_out.buffer)); in tpm2_get_random()354 max > sizeof(cmd.params.getrandom_out.buffer)) in tpm2_get_random()366 recd = min_t(u32, be16_to_cpu(cmd.params.getrandom_out.size), in tpm2_get_random()368 memcpy(dest, cmd.params.getrandom_out.buffer, recd); in tpm2_get_random()
393 struct tpm_getrandom_out getrandom_out; member
1035 recd = be32_to_cpu(tpm_cmd.params.getrandom_out.rng_data_len); in tpm_get_random()1036 memcpy(dest, tpm_cmd.params.getrandom_out.rng_data, recd); in tpm_get_random()