Name Date Size #Lines LOC

..--

cert/H05-Jun-2025-240220

client_export/public/H05-Jun-2025-3,3241,710

export-ta_arm32/H05-Jun-2025-307,798191,052

export-ta_arm64/H05-Jun-2025-307,731191,022

host/H05-Jun-2025-124,76795,433

scripts/H05-Jun-2025-184129

ta/H05-Jun-2025-21,49315,415

tools/H05-Jun-2025-298234

Android.mkH A D05-Jun-20255.4 KiB177130

CMakeLists.txtH A D05-Jun-20251.2 KiB3530

CMakeToolchain.txtH A D05-Jun-202564 42

LICENSE.mdH A D05-Jun-2025254 64

MakefileH A D05-Jun-20252.5 KiB10487

README.mdH A D05-Jun-2025387 117

README_FOR_RK.mdH A D05-Jun-20251.1 KiB4230

build.shH A D05-Jun-20254.3 KiB135115

ndk_build.shH A D05-Jun-2025251 32

typedefs.checkpatchH A D05-Jun-202520 32

README.md

1# OP-TEE sanity testsuite
2This git contains source code for the test suite (xtest) used to test the
3OP-TEE project.
4
5All official OP-TEE documentation has moved to http://optee.readthedocs.io. The
6information that used to be here in this git can be found under [optee_test].
7
8// OP-TEE core maintainers
9
10[optee_test]: https://optee.readthedocs.io/en/latest/building/gits/optee_test.html
11

README_FOR_RK.md

1########### OP-TEE testsuite and demo by Rockchip ##########
2
3The optee_test git contains the source code for the TEE
4test suite in Linux using the ARM(R) TrustZone(R) technology.
5
6##### HOWTO build the testsuite #####
7
81 build optee_client first
9* mm Android.mk in optee_client to build Dynamic Library:
10  libteec.so and Executable Binary: tee_supplicant.
11
122 build CA/TA
13* mm Android.mk in optee_test to build CA(Client Application,
14  running in normal world) and TA(Trust Application, running
15  in secure world).
16
17* OR if you only have NDK environment, you can use build.sh
18  to build TA and use ndk_build.sh to build CA.
19
20##### HOWTO run the testsuite #####
21
221 adb push the files mentioned above to machine.
23* put libteec.so in /system/lib/ and tee_supplicant in /system/bin/.
24* put CA in /system/bin/.
25* mkdir optee_armtz in /system/lib, then put TA in system/lib/optee_armtz.
26
272 run tee_supplicant
28* run tee_supplicant as root in background.
29  $ su
30  # tee_supplicant &
31
323 run CA
33* run CA.
34  # testapp
35  # testapp_storage
36  ...
37
38##### NOTICE #####
39
401 After each boot, you need run tee_supplicant first, otherwise CA/TA
41  can not complete interaction.
42