SST: Use asset ID instead of handle in all APIs
This patch updates the SST interfaces to:
- use asset ID instead of asset handle as the object is always
close at the end of each request
- change the asset ID type from uint16_t to uint32_t to allow
longer asset IDs which can contain vendor specific ID codes
- remove tfm_sst_get_handle API
- updates all files which depend on these APIs and
their documentation
Change-Id: I4a844e548cc7cdfe2277b007717003a0263e45d1
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
diff --git a/test/interface/include/sst_test_service_svc.h b/test/interface/include/sst_test_service_svc.h
index 1b04745..4860644 100644
--- a/test/interface/include/sst_test_service_svc.h
+++ b/test/interface/include/sst_test_service_svc.h
@@ -33,7 +33,7 @@
*
* \return Returns error code as specified in \ref tfm_sst_err_t
*/
-enum tfm_sst_err_t sst_test_service_svc_dummy_encrypt(uint16_t key_uuid,
+enum tfm_sst_err_t sst_test_service_svc_dummy_encrypt(uint32_t key_uuid,
uint8_t *buf,
uint32_t buf_size);
@@ -47,7 +47,7 @@
*
* \return Returns error code as specified in \ref tfm_sst_err_t
*/
-enum tfm_sst_err_t sst_test_service_svc_dummy_decrypt(uint16_t key_uuid,
+enum tfm_sst_err_t sst_test_service_svc_dummy_decrypt(uint32_t key_uuid,
uint8_t *buf,
uint32_t buf_size);