Searched refs:getrandom_out (Results 1 – 3 of 3) sorted by relevance
104 struct tpm2_get_random_out getrandom_out; member369 num_bytes = min_t(u32, max, sizeof(cmd.params.getrandom_out.buffer)); in tpm2_get_random()372 max > sizeof(cmd.params.getrandom_out.buffer)) in tpm2_get_random()384 recd = min_t(u32, be16_to_cpu(cmd.params.getrandom_out.size), in tpm2_get_random()386 memcpy(dest, cmd.params.getrandom_out.buffer, recd); in tpm2_get_random()
1080 recd = be32_to_cpu(tpm_cmd.params.getrandom_out.rng_data_len); in tpm_get_random()1086 memcpy(dest, tpm_cmd.params.getrandom_out.rng_data, recd); in tpm_get_random()
370 struct tpm_getrandom_out getrandom_out; member