Home
last modified time | relevance | path

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

/drivers/char/tpm/
Dtpm2-cmd.c98 struct tpm2_pcr_read_in pcrread_in; member
277 cmd.params.pcrread_in.pcr_selects_cnt = cpu_to_be32(1); in tpm2_pcr_read()
278 cmd.params.pcrread_in.hash_alg = cpu_to_be16(TPM2_ALG_SHA1); in tpm2_pcr_read()
279 cmd.params.pcrread_in.pcr_select_size = TPM2_PCR_SELECT_MIN; in tpm2_pcr_read()
281 memset(cmd.params.pcrread_in.pcr_select, 0, in tpm2_pcr_read()
282 sizeof(cmd.params.pcrread_in.pcr_select)); in tpm2_pcr_read()
283 cmd.params.pcrread_in.pcr_select[pcr_idx >> 3] = 1 << (pcr_idx & 0x7); in tpm2_pcr_read()
912 cmd.params.pcrread_in.pcr_selects_cnt = cpu_to_be32(1); in tpm2_do_selftest()
913 cmd.params.pcrread_in.hash_alg = cpu_to_be16(TPM2_ALG_SHA1); in tpm2_do_selftest()
914 cmd.params.pcrread_in.pcr_select_size = TPM2_PCR_SELECT_MIN; in tpm2_do_selftest()
[all …]
Dtpm.h366 struct tpm_pcrread_in pcrread_in; member
Dtpm-interface.c678 cmd.params.pcrread_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm_pcr_read_dev()