Searched refs:getrandom_out (Results 1 – 3 of 3) sorted by relevance
94 struct tpm2_get_random_out getrandom_out; member346 num_bytes = min_t(u32, max, sizeof(cmd.params.getrandom_out.buffer)); in tpm2_get_random()349 max > sizeof(cmd.params.getrandom_out.buffer)) in tpm2_get_random()361 recd = min_t(u32, be16_to_cpu(cmd.params.getrandom_out.size), in tpm2_get_random()363 memcpy(dest, cmd.params.getrandom_out.buffer, recd); in tpm2_get_random()
383 struct tpm_getrandom_out getrandom_out; member
1011 recd = be32_to_cpu(tpm_cmd.params.getrandom_out.rng_data_len); in tpm_get_random()1012 memcpy(dest, tpm_cmd.params.getrandom_out.rng_data, recd); in tpm_get_random()