diff options
| author | Heiko Schocher <[email protected]> | 2025-11-18 05:30:41 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-04 09:38:58 -0600 |
| commit | 7c3f05ad51e4bc23dd4f411f28968f1d8f43099c (patch) | |
| tree | 5368efdf970d4f807e2d032152b4bf38deda568f /cmd | |
| parent | 213601a600f1e8894cea76b0bfc131f038882407 (diff) | |
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 <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/tpm-v2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/tpm-v2.c b/cmd/tpm-v2.c index 346e21d27bb..847b2691581 100644 --- a/cmd/tpm-v2.c +++ b/cmd/tpm-v2.c @@ -589,6 +589,7 @@ U_BOOT_CMD(tpm2, CONFIG_SYS_MAXARGS, 1, do_tpm, "Issue a TPMv2.x command", " * sha256\n" " * sha384\n" " * sha512\n" +" * sm3_256\n" " <on|off> is one of:\n" " * on - Select all available PCRs associated with the specified\n" " algorithm (bank)\n" |
