Instructions on Running Secure Computing Applications
Running an Empty GlobalPlatform-Compliant TEE Application Project
After an empty GlobalPlatform-compliant TEE application project is successfully compiled using the Compiler and Debugger, copy the SEC file generated in ./TA to the /data directory and the hello-world executable file generated in ./CA to the /vendor/bin directory.
The commands are as follows:
1 2 | cp /xxx/src/hello-world/TA/{appID}.sec /data/ cp /xxx/src/hello-world/CA/hello-world /vendor/bin/ |
- If the /vendor/bin and /data paths do not exist, manually create them.
- xxx indicates the workspace or project name, and appID is the value of gpd.ta.appID in the manifest.txt file.
Running an RSA Project
After an RSA project is successfully compiled using the Compiler and Debugger, copy the SEC file generated in ./TA/cloud to the /data directory and the rsa_demo executable file generated in ./CA/cloud to the /vendor/bin directory.
The commands are as follows:
1 2 | cp /xxx/src/RSA/TA/cloud/{appID}.sec /data/ cp /xxx/src/RSA/CA/cloud/rsa_demo /vendor/bin/ |
Running a Data Sealing Project
After a data sealing project is successfully compiled using the Compiler and Debugger, copy the SEC file generated in ./TA/cloud to the /data directory and the data-sealing executable file generated in ./CA/cloud to the /vendor/bin directory.
The commands are as follows:
1 2 | cp /xxx/src/data-sealing/TA/cloud/{appID}.sec /data/ cp /xxx/src/data-sealing/CA/cloud/data-sealing /vendor/bin/ |
Running a Secret Voting Project
After a secret voting project is successfully compiled using the Compiler and Debugger, copy the SEC file generated in ./TA/cloud to the /data directory and the SO file generated in ./CA/build to the lib directory.
The commands are as follows:
1 2 | cp /xxx/src/secret-vote/TA/cloud/{appID}.sec /data/ cp /xxx/src/secret-vote/CA/build/libsecret-vote-ca.so ../../lib |
Running a Certificate Assignment Project
After a certificate assignment project is successfully compiled using the Compiler and Debugger, copy the SEC file generated in ./TA/ to the /data directory and the cert-assign executable file generated in ./CA/ to the /vendor/bin directory.
The commands are as follows:
1 2 | cp /xxx/src/cert-assign/TA/{appID}.sec /data/ cp /xxx/src/cert-assign/CA/cert-assign /vendor/bin/ |