Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/char/tpm/
Dtpm2-cmd.c95 struct tpm2_pcr_extend_in pcrextend_in; member
303 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm2_pcr_extend()
304 cmd.params.pcrextend_in.auth_area_size = in tpm2_pcr_extend()
306 cmd.params.pcrextend_in.auth_area.handle = in tpm2_pcr_extend()
308 cmd.params.pcrextend_in.auth_area.nonce_size = 0; in tpm2_pcr_extend()
309 cmd.params.pcrextend_in.auth_area.attributes = 0; in tpm2_pcr_extend()
310 cmd.params.pcrextend_in.auth_area.auth_size = 0; in tpm2_pcr_extend()
311 cmd.params.pcrextend_in.digest_cnt = cpu_to_be32(1); in tpm2_pcr_extend()
312 cmd.params.pcrextend_in.hash_alg = cpu_to_be16(TPM2_ALG_SHA1); in tpm2_pcr_extend()
313 memcpy(cmd.params.pcrextend_in.digest, hash, TPM_DIGEST_SIZE); in tpm2_pcr_extend()
Dtpm-interface.c755 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm_pcr_extend()
756 memcpy(cmd.params.pcrextend_in.hash, hash, TPM_DIGEST_SIZE); in tpm_pcr_extend()
936 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(tpm_suspend_pcr); in tpm_pm_suspend()
937 memcpy(cmd.params.pcrextend_in.hash, dummy_hash, in tpm_pm_suspend()
Dtpm.h391 struct tpm_pcrextend_in pcrextend_in; member