Transport (Send(cmd)→rsp) · Regs (MMIO) · BIG-ENDIAN TPM2 codec
The narrow waist: the Transport interface, the Regs MMIO accessor the MMIO transports use, the big-endian TPM2 wire codec, and the shared constants. Everything else plugs in. v0.1.0.
tis
transport
TIS / FIFO MMIO transport
TPM TIS/FIFO transport — the classic 0xFED4_0000 MMIO interface. Regs-driven STS / DATA_FIFO state machine; locality, Expect / dataAvail handshake. v0.1.0.
crb
transport
CRB command-buffer MMIO transport
TPM CRB transport — the Command/Response Buffer MMIO interface (PTP §6). Doorbell Start + goIdle / cmdReady state machine over the command/response buffers. v0.1.0.
EFI_TCG2_PROTOCOL transport
EFI_TCG2_PROTOCOL transport — a firmware TPM under UEFI Boot Services, reached through an injected firmware-call closure so go-tpm2 stays UEFI-free. SubmitCommand + HashLogExtendEvent for measured boot, plus GetEventLog to fetch the firmware TCG event log. v0.2.0.
Linux /dev/tpmrm0 transport
A common.Transport over the Linux kernel TPM resource-manager char device /dev/tpmrm0 (one write = one command, one read = the response) — the node-side host-TPM path so attest's Node can run on a real Linux node. Validated against real swtpm via its raw-TPM2 socket. v0.1.0.
TPM 2.0 command API over any Transport
The command API over any Transport: Startup, GetRandom, PCR_Read / PCR_Extend, GetCapability (+typed decode), SelfTest; CreatePrimary + ECC-P256 AK; remote attestation (Quote → VerifyQuote); PolicyPCR sealing; NV storage; the EK (EK Credential Profile); credential activation (MakeCredential / ActivateCredential); and Import / WrapToPCR. v0.6.0.
Control-plane remote-attestation protocol
Control-plane remote-attestation protocol over tpm2 — a pure-Go Verifier + a Node agent implementing node-admission-on-Quote. Two-phase handshake (enrollment via MakeCredential / ActivateCredential, then admission: nonce → Quote → verify). Pluggable EKRegistry, Policy (golden PCR digests or EventLogPolicy), and PendingStore (in-memory or shared for HA control-planes). v0.3.0.
Real-swtpm + real-OVMF validation harness
Real-TPM validation harness. Drives a real swtpm over the tis and crb transports from a TamaGo+QEMU guest, runs the EFI_TCG2 measured-boot loop on real x86 OVMF firmware, and exercises the attest protocol end-to-end — including the Import / WrapToPCR flow and the attest-protocol harnesses. v0.9.0.