Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/char/tpm/
Dtpm2-cmd.c90 struct tpm2_pcr_extend_in pcrextend_in; member
298 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm2_pcr_extend()
299 cmd.params.pcrextend_in.auth_area_size = in tpm2_pcr_extend()
301 cmd.params.pcrextend_in.auth_area.handle = in tpm2_pcr_extend()
303 cmd.params.pcrextend_in.auth_area.nonce_size = 0; in tpm2_pcr_extend()
304 cmd.params.pcrextend_in.auth_area.attributes = 0; in tpm2_pcr_extend()
305 cmd.params.pcrextend_in.auth_area.auth_size = 0; in tpm2_pcr_extend()
306 cmd.params.pcrextend_in.digest_cnt = cpu_to_be32(1); in tpm2_pcr_extend()
307 cmd.params.pcrextend_in.hash_alg = cpu_to_be16(TPM2_ALG_SHA1); in tpm2_pcr_extend()
308 memcpy(cmd.params.pcrextend_in.digest, hash, TPM_DIGEST_SIZE); in tpm2_pcr_extend()
Dtpm-interface.c731 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm_pcr_extend()
732 memcpy(cmd.params.pcrextend_in.hash, hash, TPM_DIGEST_SIZE); in tpm_pcr_extend()
912 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(tpm_suspend_pcr); in tpm_pm_suspend()
913 memcpy(cmd.params.pcrextend_in.hash, dummy_hash, in tpm_pm_suspend()
Dtpm.h381 struct tpm_pcrextend_in pcrextend_in; member