From: Tom Rini Date: Thu, 4 Dec 2025 15:39:11 +0000 (-0600) Subject: Merge patch series "Add support for SM3 secure hash" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33750d8d88d519a6ec90da689776d8afccccf2c4;p=thirdparty%2Fu-boot.git Merge patch series "Add support for SM3 secure hash" Heiko Schocher says: Add SM3 secure hash, as specified by OSCCA GM/T 0004-2012 SM3 and described at https://datatracker.ietf.org/doc/html/draft-sca-cfrg-sm3-02 TPMv2 defines hash algo sm3_256, which is currently not supported and prevented TPMv2 chip with newer firmware to work with U-Boot. Seen this on a ST33TPHF2XI2C u-boot=> tpm2 init u-boot=> tpm2 autostart tpm2_get_pcr_info: too many pcrs: 5 Error: -90 u-boot=> Implement sm3 hash, so we can fix this problem. Link: https://lore.kernel.org/r/20251118043042.27726-1-hs@nabladev.com --- 33750d8d88d519a6ec90da689776d8afccccf2c4