From b426d75b43213a9376e9fc8a1da8860c52dd7221 Mon Sep 17 00:00:00 2001 From: Juergen Repp Date: Mon, 25 Dec 2023 18:24:22 +0100 Subject: [PATCH] rc: add new return codes. The error messages for TPM2_RC_FW_LIMITED and TPM2_RC_SVN_LIMITED are added. Signed-off-by: Juergen Repp --- src/tss2-rc/tss2_rc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tss2-rc/tss2_rc.c b/src/tss2-rc/tss2_rc.c index b5d386443..e5ac794ba 100644 --- a/src/tss2-rc/tss2_rc.c +++ b/src/tss2-rc/tss2_rc.c @@ -290,6 +290,10 @@ tss2_fmt1_err_strs_get(TSS2_RC error) "curve not supported", /* 0x27 - TPM2_RC_ECC_POINT */ "point is not on the required curve", + /* 0x28 - TPM2_RC_FW_LIMITED */ + "the command requires the firmware secret but the firmware secret is unavailable", + /* 0x29 - TPM2_RC_SVN_LIMITED */ + "the command requires the firmware SVN secret but the firmware SVN secret is unavailable" }; if (error < ARRAY_LEN(fmt1_err_strs)) {