Searched refs:pcr_idx (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/include/linux/ |
D | tpm.h | 56 extern int tpm_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf); 57 extern int tpm_pcr_extend(struct tpm_chip *chip, int pcr_idx, const u8 *hash); 72 static inline int tpm_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf) in tpm_pcr_read() argument 76 static inline int tpm_pcr_extend(struct tpm_chip *chip, int pcr_idx, in tpm_pcr_extend() argument
|
D | tpm_eventlog.h | 99 u32 pcr_idx; member 117 u32 pcr_idx; member
|
/linux-4.19.296/drivers/char/tpm/ |
D | tpm-interface.c | 944 int tpm_pcr_read_dev(struct tpm_chip *chip, int pcr_idx, u8 *res_buf) in tpm_pcr_read_dev() argument 950 cmd.params.pcrread_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm_pcr_read_dev() 994 int tpm_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf) in tpm_pcr_read() argument 1002 rc = tpm2_pcr_read(chip, pcr_idx, res_buf); in tpm_pcr_read() 1004 rc = tpm_pcr_read_dev(chip, pcr_idx, res_buf); in tpm_pcr_read() 1019 static int tpm1_pcr_extend(struct tpm_chip *chip, int pcr_idx, const u8 *hash, in tpm1_pcr_extend() argument 1029 tpm_buf_append_u32(&buf, pcr_idx); in tpm1_pcr_extend() 1050 int tpm_pcr_extend(struct tpm_chip *chip, int pcr_idx, const u8 *hash) in tpm_pcr_extend() argument 1071 rc = tpm2_pcr_extend(chip, pcr_idx, count, digest_list); in tpm_pcr_extend() 1076 rc = tpm1_pcr_extend(chip, pcr_idx, hash, in tpm_pcr_extend()
|
D | tpm.h | 385 __be32 pcr_idx; member 567 int tpm_pcr_read_dev(struct tpm_chip *chip, int pcr_idx, u8 *res_buf); 582 int tpm2_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf); 583 int tpm2_pcr_extend(struct tpm_chip *chip, int pcr_idx, u32 count,
|
D | tpm2-cmd.c | 186 int tpm2_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf) in tpm2_pcr_read() argument 193 if (pcr_idx >= TPM2_PLATFORM_PCR) in tpm2_pcr_read() 200 pcr_select[pcr_idx >> 3] = 1 << (pcr_idx & 0x7); in tpm2_pcr_read() 236 int tpm2_pcr_extend(struct tpm_chip *chip, int pcr_idx, u32 count, in tpm2_pcr_extend() argument 252 tpm_buf_append_u32(&buf, pcr_idx); in tpm2_pcr_extend()
|
/linux-4.19.296/drivers/char/tpm/eventlog/ |
D | tpm2.c | 55 marker = marker + sizeof(event->pcr_idx) + sizeof(event->event_type) in calc_tpm2_event_size()
|