Rate This Document
Findability
Accuracy
Completeness
Readability

Deploying the TA Compilation Environment

  1. Modify the demo file.

    In the TA file, set the CA running path, which must be the same as the CA storage path. The full path /vendor/bin/rsa-demoCA is used for invoking the CA.

    Edit the rsa-demo/rsa_ta_interface.h file.

  2. Modify the manifest.txt file.

    Enter gpd.ta.appID. It is the TA universally unique identifier (UUID) used to identify the TA.

    Obtain the UUID using either of the following methods:

    • Search for an UUID generator on the Internet.
    • On Linux or in the Android Debug Bridge (adb), run the following command:
      1
      cat /proc/sys/kernel/random/uuid
      

    The UUID specified in the CA must be identical to that in the manifest.txt file of the TA. Otherwise, the CA cannot communicate with the TA.

  3. Modify the Makefile file.

    Go to the TA project build path iTrustee_Cloud_SDK/test/TA/rsa_demo/cloud. Open the Makefile file and modify the SRC, which corresponds to the rsa-demo code path.

  4. Compile the TA.
    1
    make
    

    After the compilation is successful, a compilation output file in UUID+.sec format is generated.