diff --git a/README b/README deleted file mode 100644 index a6d8a5c1ae9a742c0d736fc5a543ded0a76d0b5c..0000000000000000000000000000000000000000 --- a/README +++ /dev/null @@ -1,20 +0,0 @@ -iTrustee SDK -============ - -Getting Started ---------------- -Before setup your own project, please download libboundscheck software for secure function library. -Decompress the openeuler-libboundscheck-master.zip package, then put this software to thirdparty/open_source path. -Ensure that the header file path is thirdparty/open_source/libboundscheck/include. -This software download address is https://gitee.com/openeuler/libboundscheck. - -build demo project: -$ cd test/CA/helloworld -$ make -$ cd test/TA/helloworld -$ make -copy build result CA executable file and TA binary(xxx.sec) to /var/itrustee/ta -#the path "/vendor/bin/" may be changed as your opinion, make sure it consistent with the path defined in your TA's source code -$ /vendor/bin/demo_hello - -for more details please refor "iTrustee SDKֲ.chm" diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5b148360cb47a6b013cb809f21e0a4e7f88a7f59 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# iTrustee SDK + +#### 介绍 +itrustee sdk是指开发人发人员基于安全OS编译TA时所依赖的接口、函数库等。 + +#### 操作系统 +支持ARM服务器,比如鲲鹏920。 + +#### 编译教程 + +1)下载libboundscheck库,下载地址: 。 + +2)将libboundscheck解压到**thirdparty/open_source**目录。 + +3)通过以下命令可编译demo TA: + +``` +cd test/CA/helloworld +make +cd test/TA/helloworld +make +``` + +4)也可通过cmake的方式编译TA: + +``` +cd test/TA/helloworld +bash config.sh +``` + +5)将编译出来的TA二进制文件(xxx.sec)拷贝到服务器的/var/itrustee/ta目录下。 + +6)将编译出来的CA拷贝到服务器的/vendor/bin目录下。(ca的执行路径可能会随着用户配置发生变化,请确保CA的执行路径与TA中配置的路径一致) + +7)执行demo CA: + +``` +/vendor/bin/demo_hello +``` + +#### 使用说明 +更多细节请参考"iTrustee SDKֲ.chm"。 + +#### 参与贡献 + 如果您想为本仓库贡献代码,请向本仓库任意maintainer发送邮件 + 如果您找到产品中的任何Bug,欢迎您提出ISSUE