Rate This Document
Findability
Accuracy
Completeness
Readability

Memory Encryption and Decryption with SMEE

Case No.

2.9.1

Test Objective

Verify the memory encryption and decryption functions of the secure OS based on SRAM-based Memory Encryption Engine (SMEE).

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.
  3. The root public key certificate for the test has been preset on the TA.
  4. The BIOS firmware version is 1.91 or later.

Test Procedure

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

    insmod tzdriver

    /usr/bin/teecd &

  2. Compile the test CA and TA. For the TA, define a 1 KB array of SMEE static variables and read and write variables.
  3. Run the test CA and TA. (See Expected Result 2.)
  4. Repeat steps 2 and 3 to change the array size to 8 KB, 32 KB, 512 KB, 1 MB, and 4 MB. (See Expected Result 2.)

Expected Result

  1. The REE patch is loaded and no error information is displayed.
  2. The TA is running successfully and no error is reported.

Test Result

  

Remarks

Ask the Huawei R&D to provide the TA and CA source code and binary files for the test.