tpm_pcr_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tpm_pcr_read(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the tpm_pcr_read(9) page from the Kernel API Manual 🫢. We're reading a PCR value from the SHA1 bank, and honestly? iconic. 🧚


πŸŽ€ NAME

tpm_pcr_read β€” read a PCR value from SHA1 bank

🌸 SYNOPSIS

int tpm_pcr_read (struct tpm_chip *chip , u32 pcr_idx , struct
       tpm_digest *digest );

πŸ¦‹ ARGUMENTS

  • chip β€” a struct tpm_chip instance, NULL for the default chip. so if you're feeling default-core, pass NULL πŸ’…
  • pcr_idx β€” the PCR to be retrieved. that's the one, bestie 🎯
  • digest β€” the PCR bank and the buffer the current PCR value is written to. it's giving "put the value here" energy πŸ“

πŸ”₯ RETURN

same as with tpm_transmit_cmd. no cap, literally the same return situation as tpm_transmit_cmd πŸ‘‘

πŸ‘‘ SEE ALSO


mwah πŸ’‹ β€” signing off from ./drivers/char/tpm, October 2026, on the tpm_pcr_read(9) page. periodt ✨🫢

πŸ“¦ where this page comes from