Home
last modified time | relevance | path

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

/drivers/char/tpm/
Dtpm2-cmd.c104 struct tpm2_get_random_out getrandom_out; member
369 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()
Dtpm-interface.c1080 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()
Dtpm.h370 struct tpm_getrandom_out getrandom_out; member