tree: b29819968a0e1a2db50c95bb1f9ce7ebd6a68fb0 [path history] [tgz]
  1. meta/
  2. bind_tests.json
  3. BUILD.gn
  4. README.md
  5. tpm-lpc-info.json
  6. tpm-lpc.bind
  7. tpm-lpc.cc
  8. tpm-lpc.h
  9. unit-tests.cc
src/devices/tpm/drivers/tpm-lpc/README.md

tpm-lpc

Implements a TPM LPC driver for engineering builds and testing. This allows routing the swtpm from the host through QEMU so that is it can be called inside Fuchsia. This is incredibly useful for testing TPM functionality in end to end tests. This driver is generic and should work with any x86 device with ACPI and a TPM on the Low Pin Count.

Testing

Unit tests for tpm-lpc are available in the tpm-lpc-tests package.

$ fx test tpm-lpc-tests