Attest: Add CBOR/COSE encoding to IAT
Replace the temporary TLV encoding of the initial
attestation token (IAT) to the final CBOR/COSE encoding.
Change-Id: I4b6c936e501704fd193757e47ccbde657e85ede6
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/interface/include/psa_initial_attestation_api.h b/interface/include/psa_initial_attestation_api.h
index 5d650f0..bb479f4 100644
--- a/interface/include/psa_initial_attestation_api.h
+++ b/interface/include/psa_initial_attestation_api.h
@@ -26,7 +26,7 @@
* \brief PSA INITIAL ATTESTATION API version
*/
#define PSA_INITIAL_ATTEST_API_VERSION_MAJOR (0)
-#define PSA_INITIAL_ATTEST_API_VERSION_MINOR (1)
+#define PSA_INITIAL_ATTEST_API_VERSION_MINOR (9)
/**
* \enum psa_attest_err_t
@@ -181,19 +181,6 @@
*/
/**
- * Calculated based on:
- * - COSE header
- * - Algorithm identifier
- * - Key ID
- * - Claims in initial attestation token
- * - COSE Signature
- *
- * This size (in bytes) is a maximum value, actual token size can be smaller.
- */
-/* FixMe: Just initial value it must be updated if claims are fixed */
-#define PSA_INITIAL_ATTEST_TOKEN_SIZE (512u)
-
-/**
* \brief Get initial attestation token
*
* \param[in] challenge_obj Pointer to buffer where challenge input is