random: add missing TA_VERSION and TA_DESCRIPTION
Add missing TA_VERSION and TA_DESCRIPTION macros on Random bytes example.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
diff --git a/random/ta/user_ta_header_defines.h b/random/ta/user_ta_header_defines.h
index c19b959..dc387f7 100644
--- a/random/ta/user_ta_header_defines.h
+++ b/random/ta/user_ta_header_defines.h
@@ -49,4 +49,10 @@
/* Provisioned heap size for TEE_Malloc() and friends */
#define TA_DATA_SIZE (32 * 1024)
+/* The gpd.ta.version property */
+#define TA_VERSION "1.0"
+
+/* The gpd.ta.description property */
+#define TA_DESCRIPTION "Example of how a TA can get a buffer of random bytes"
+
#endif /* USER_TA_HEADER_DEFINES_H */