]> git.ipfire.org Git - thirdparty/u-boot.git/commit
tpm2: add sm3 256 hash support
authorHeiko Schocher <hs@nabladev.com>
Tue, 18 Nov 2025 04:30:41 +0000 (05:30 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 4 Dec 2025 15:38:58 +0000 (09:38 -0600)
commit7c3f05ad51e4bc23dd4f411f28968f1d8f43099c
tree5368efdf970d4f807e2d032152b4bf38deda568f
parent213601a600f1e8894cea76b0bfc131f038882407
tpm2: add sm3 256 hash support

add sm3 256 hash support, so TPM2 chips which report
5 pcrs with sm3 hash do not fail with:

  u-boot=> tpm2 autostart
  tpm2_get_pcr_info: too many pcrs: 5
  Error: -90

Signed-off-by: Heiko Schocher <hs@nabladev.com>
cmd/tpm-v2.c
include/tpm-v2.h
lib/efi_loader/efi_tcg2.c
lib/tpm-v2.c
lib/tpm_tcg2.c