aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2020-01-26 15:28:51 +0800
committerDavid Hu <david.hu@arm.com>2020-06-22 02:33:00 +0000
commitb835f4d199c808265895bb39a32e630c05be8db4 (patch)
treebfda92066d792850039536f522d2446ca325bd9c /lib
parent6d2bc65f3fbc215eae6116228902c9c4e65e5a43 (diff)
downloadtrusted-firmware-m-b835f4d199c808265895bb39a32e630c05be8db4.tar.gz
Test: Enable symmetric Initial Attestation decoding
Enable the token decoding process in symmetric key algorithm based Initial Attestation for test. In build type Debug, the symmetric IAK handle is fetched to verify the tag of the generated token, in secure side. Change-Id: I8e3175e5e3586ad80940d5ee9338f9dfc568a1b7 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/qcbor/util/qcbor_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/qcbor/util/qcbor_util.c b/lib/ext/qcbor/util/qcbor_util.c
index 5da3898dbc..8d0930ec75 100644
--- a/lib/ext/qcbor/util/qcbor_util.c
+++ b/lib/ext/qcbor/util/qcbor_util.c
@@ -230,7 +230,7 @@ qcbor_util_get_top_level_item_in_map(struct q_useful_buf_c payload,
QCBORError cbor_error;
if(q_useful_buf_c_is_null(payload)) {
- return_value = ATTEST_TOKEN_ERR_COSE_SIGN1_VALIDATION;
+ return_value = ATTEST_TOKEN_ERR_COSE_VALIDATION;
goto Done;
}