]> git.ipfire.org Git - thirdparty/u-boot.git/commit
Merge patch series "Add support for SM3 secure hash"
authorTom Rini <trini@konsulko.com>
Thu, 4 Dec 2025 15:39:11 +0000 (09:39 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 4 Dec 2025 15:39:11 +0000 (09:39 -0600)
commit33750d8d88d519a6ec90da689776d8afccccf2c4
treef7cd1fdbdd7c88eec85a1d1fbb566c8689c85d33
parent8eed8a355843897258c3f22727b32abe95464b08
parentb30557b3b46c5162cb88a57907c517ed95557239
Merge patch series "Add support for SM3 secure hash"

Heiko Schocher <hs@nabladev.com> 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
MAINTAINERS
boot/Kconfig