STRUCT FTPM_TEE_PRIVATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ftpm_tee_private(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– today's main character is struct ftpm_tee_private, and it is literally the fTPM's private data. yes. its private data. we don't ask questions, we just read the docs 🫢


🌸 NAME 🌸

struct ftpm_tee_private β€” fTPM's private data πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct ftpm_tee_private {
    struct tpm_chip *chip;
    u32 session;
    struct tee_context *ctx;
    struct tee_shm *shm;
 };

that's the whole vibe. four fields, no notes, no cap ✨


πŸ¦‹ Members πŸ¦‹

  • chip β€” a struct tpm_chip instance that's registered with the tpm framework. it's the whole TPM situation, all official and registered πŸ‘‘
  • session β€” the fTPM TA session identifier. it's a u32, it's the session, it identifies. iconic. πŸ”₯
  • ctx β€” the TEE context handler. the handler of the context. of the TEE. 🧚
  • shm β€” the memory pool that gets shared with the fTPM TA in the TEE. shared memory, shared vibes, shared everything πŸ’œ

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/char/tpm/tpm_ftpm_tee.h β€” go read the source bestie, it's right there πŸ“–

and that's the page!! πŸŽ€ tysm for reading, no notes, you ate πŸ’…

little sign-off from the source: this one lives in ./drivers/char/tpm, dated October 2026. mwah πŸ’–πŸ¦‹βœ¨
πŸ“¦ where this page comes from