Searched refs:pcr_idx (Results 1 - 6 of 6) sorted by path

/linux-master/drivers/char/tpm/
H A Dtpm-interface.c280 * @pcr_idx: the PCR to be retrieved
285 int tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx, argument
295 rc = tpm2_pcr_read(chip, pcr_idx, digest, NULL);
297 rc = tpm1_pcr_read(chip, pcr_idx, digest->digest);
307 * @pcr_idx: the PCR to be retrieved
315 int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, argument
333 rc = tpm2_pcr_extend(chip, pcr_idx, digests);
337 rc = tpm1_pcr_extend(chip, pcr_idx, digests[0].digest,
H A Dtpm.h249 int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash,
251 int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf);
291 int tpm2_pcr_read(struct tpm_chip *chip, u32 pcr_idx,
293 int tpm2_pcr_extend(struct tpm_chip *chip, u32 pcr_idx,
H A Dtpm1-cmd.c463 int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash, argument
473 tpm_buf_append_u32(&buf, pcr_idx);
584 int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf) argument
593 tpm_buf_append_u32(&buf, pcr_idx);
H A Dtpm2-cmd.c155 * @pcr_idx: index of the PCR to read.
161 int tpm2_pcr_read(struct tpm_chip *chip, u32 pcr_idx, argument
172 if (pcr_idx >= TPM2_PLATFORM_PCR)
190 pcr_select[pcr_idx >> 3] = 1 << (pcr_idx & 0x7);
223 * @pcr_idx: index of the PCR.
228 int tpm2_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, argument
245 tpm_buf_append_name(chip, &buf, pcr_idx, NULL);
/linux-master/include/linux/
H A Dtpm.h462 extern int tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx,
464 extern int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx,
484 static inline int tpm_pcr_read(struct tpm_chip *chip, int pcr_idx, argument
490 static inline int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, argument
H A Dtpm_eventlog.h98 u32 pcr_idx; member in struct:tcg_pcr_event
111 u32 pcr_idx; member in struct:tcg_pcr_event2_head
180 marker = marker + sizeof(event->pcr_idx) + sizeof(event->event_type)
205 if (event_header->pcr_idx != 0 ||

Completed in 404 milliseconds