1.Project Info Tzdriver (Trustzone driver) is a Linux kernel dirver module for ARM Trustzone.

2.Environment Prepare

  1. you need an ARM Linux server (like kunpeng920)
  2. download kernel source code to /usr/src/kernels
  3. you should download libboundscheck from https://atomgit.com/openeuler/libboundscheck

3.Compile

  1. unzip libboundscheck and move libboundscheck to tzdriver/ like this: tzdriver |--Makefile |--core |--...... |--libboundscheck |--src |--include |--Makefile

  2. cd tzdriver

  3. make -C libboundscheck

  4. make For 920 new models use this command instead:make CPU_BINDING=y then you will see tzdriver.ko under the folder "tzdriver" If you want to use tee as a non-root user inside a container, use this command instead:make CONFIG_CONTAINER_TEE_CAPABLE=true 4.Run

  5. make sure that TEEOS is running

  6. insmod tzdriver.ko

  7. /usr/bin/teecd &

  8. run any CA

5.License please see License/Tzdriver_License for more details