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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user