From: David Garske <david@wolfssl.com>
To: u-boot@lists.denx.de
Cc: David Garske <david@wolfssl.com>
Subject: [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 00/12] *** SUBJECT HERE ***
Date: Mon, 16 Mar 2026 11:14:29 -0700 [thread overview]
Message-ID: <20260316181447.2986278-1-david@wolfssl.com> (raw)
*** BLURB HERE ***
Aidan (12):
tpm: export tpm_show_device, tpm_set_device, and get_tpm
include: add byteorder macro guards and SHA384 hash wrapper
spi: add BCM2835/BCM2711 hardware SPI controller driver
dts: add TPM device tree nodes for RPi4, QEMU, and sandbox
tpm: add wolfTPM library as git submodule
tpm: add wolfTPM headers and SHA384 glue code
tpm: add wolfTPM driver helpers and Kconfig options
cmd: refactor tpm2 command into frontend/backend architecture
tpm: add sandbox TPM SPI emulator
test: add wolfTPM C unit tests and Python integration tests
doc: add wolfTPM documentation
configs: enable wolfTPM in rpi_4_defconfig
.gitmodules | 3 +
README | 3 +
README.wolftpm.md | 154 +++
arch/arm/dts/bcm2711-rpi-4-b-u-boot.dtsi | 54 +
arch/arm/dts/bcm2711-rpi-4-b.dts | 20 +
arch/arm/dts/qemu-arm64.dts | 4 +
arch/sandbox/dts/sandbox.dtsi | 11 +
cmd/Kconfig | 11 +
cmd/Makefile | 10 +-
cmd/native_tpm2.c | 516 ++++++++++
cmd/tpm-common.c | 4 +-
cmd/tpm-v2.c | 559 ++---------
cmd/tpm2-backend.h | 66 ++
cmd/wolftpm.c | 1170 ++++++++++++++++++++++
configs/rpi_4_defconfig | 29 +-
doc/usage/cmd/wolftpm.rst | 635 ++++++++++++
drivers/mtd/spi/sandbox.c | 30 +-
drivers/spi/Kconfig | 9 +
drivers/spi/Makefile | 1 +
drivers/spi/bcm2835_spi.c | 431 ++++++++
drivers/tpm/Kconfig | 44 +
drivers/tpm/Makefile | 9 +
drivers/tpm/tpm_spi_sandbox.c | 410 ++++++++
drivers/tpm/wolftpm_common.c | 137 +++
include/configs/user_settings.h | 118 +++
include/hash.h | 18 +
include/linux/byteorder/generic.h | 31 +-
include/tpm-common.h | 22 +
include/wolftpm.h | 34 +
lib/Kconfig | 13 +
lib/Makefile | 18 +
lib/wolftpm | 1 +
lib/wolftpm.c | 56 ++
test/cmd/Makefile | 1 +
test/cmd/wolftpm.c | 364 +++++++
test/py/tests/test_wolftpm.py | 375 +++++++
36 files changed, 4861 insertions(+), 510 deletions(-)
create mode 100644 .gitmodules
create mode 100644 README.wolftpm.md
create mode 100644 arch/arm/dts/bcm2711-rpi-4-b-u-boot.dtsi
create mode 100644 cmd/native_tpm2.c
create mode 100644 cmd/tpm2-backend.h
create mode 100644 cmd/wolftpm.c
create mode 100644 doc/usage/cmd/wolftpm.rst
create mode 100644 drivers/spi/bcm2835_spi.c
create mode 100644 drivers/tpm/tpm_spi_sandbox.c
create mode 100644 drivers/tpm/wolftpm_common.c
create mode 100644 include/configs/user_settings.h
create mode 100644 include/wolftpm.h
create mode 160000 lib/wolftpm
create mode 100644 lib/wolftpm.c
create mode 100644 test/cmd/wolftpm.c
create mode 100644 test/py/tests/test_wolftpm.py
--
2.43.0
next reply other threads:[~2026-03-16 18:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 18:14 David Garske [this message]
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 01/12] tpm: export tpm_show_device, tpm_set_device, and get_tpm David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 02/12] include: add byteorder macro guards and SHA384 hash wrapper David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 03/12] spi: add BCM2835/BCM2711 hardware SPI controller driver David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 04/12] dts: add TPM device tree nodes for RPi4, QEMU, and sandbox David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 05/12] tpm: add wolfTPM library as git submodule David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 06/12] tpm: add wolfTPM headers and SHA384 glue code David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 07/12] tpm: add wolfTPM driver helpers and Kconfig options David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 08/12] cmd: refactor tpm2 command into frontend/backend architecture David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 09/12] tpm: add sandbox TPM SPI emulator David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 10/12] test: add wolfTPM C unit tests and Python integration tests David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 11/12] doc: add wolfTPM documentation David Garske
2026-03-16 18:14 ` [[PATCH v2] tpm: Add wolfTPM library support for TPM 2.0 12/12] configs: enable wolfTPM in rpi_4_defconfig David Garske
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260316181447.2986278-1-david@wolfssl.com \
--to=david@wolfssl.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox