Rate This Document
Findability
Accuracy
Completeness
Readability

CA and TA Authentication

Case No.

4.1.6

Test Objective

Verify that the CA and TA access authentication is normal.

Test Networking

See Test Networking.

Prerequisites

  1. The TrustZone kit has been burnt into the server and the TrustZone license has been activated.
  2. The REE patch has been loaded to the server. The CA and TA can be loaded and can communicate with each other properly.

Test Procedure

  1. Log in to the REE OS and load the TrustZone REE patch. (See Expected Result 1.)

    insmod tzdriver

    /usr/bin/teecd &

  2. Write the test CA and TA. Ensure that the TA code does not contain the test CA permission information. Compile, deploy, and run the test CA and TA. (See Expected Result 2.)
  3. Write the test CA and TA. Ensure that the CA requests invoking multiple TAs, and the code of each TA contains CA permission information. (See Expected Result 3.)
  4. Write the test CA and TA to test the mode in which multiple CAs access a single TA. Ensure that the code of each requested TA contains all CA permissions. (See Expected Result 3.)

Expected Result

  1. The REE patch is loaded and no error information is displayed.
  2. The CA fails to run. The tlogcat security log indicates that the CA does not have the TA access permission.
  3. The CA and each TA are loaded and no error information is displayed.
  4. Each CA and TA are loaded and no error information is displayed.

Test Result

  

Remarks