commit | 9890a50d3c26b377dcb27f5db680018e15a5a3de | [log] [tgz] |
---|---|---|
author | Zhenchuan Chai <zcchai@iotex.io> | Wed Jan 09 11:45:37 2019 -0800 |
committer | Jerome Forissier <jerome.forissier@linaro.org> | Tue Mar 12 17:18:34 2019 +0100 |
tree | 31b17df75a7a63f34c98a6ad2b1358c52bd17930 | |
parent | 86a25e8becb6be2c3383a31c772971395a3f0522 [diff] |
Secure_storage: fix size type into uint32_t Type size_t is a deprecated type used in GPD TEE Client API v1.0, since v1.1 size arguments are typed uint32_t. Secure storage examples was not updated. This error was reported with NXP LSDK (flexbbuild system with gcc-aach64-linux-gnu <aarch64-linux-gnu-gcc (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04) 7.3.0) with trace: secure_storage_ta.c:203:6: error: passing argument 4 of ‘TEE_ReadObjectData’ from incompatible pointer type [-Werror=incompatible-pointer-types] &read_bytes); Signed-off-by: Zhenchuan Chai <zcchai@iotex.io> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
This document describes the sample applications that are included in the OP-TEE, that aim to showcase specific functionality and use case.
For sake of simplicity, all OP-TEE example test application are prefixed with optee_example_
.
Directory hello_world/:
optee_example_hello_world
Directory random/:
TEE_GenerateRandom()
).optee_example_random
Directory aes/:
optee_example_aes
Directory secure_storage/:
optee_example_secure_storage
Directory acipher/:
optee_example_acipher
TA basics documentation presents the basics for implementing and building an OP-TEE trusted application.
One can also refer to the examples provided: source files and make scripts.