├── LICENSE ├── README.md ├── doc ├── 2019-05-29_095400.png ├── 2019-05-29_113640.png ├── Design_flowChart │ ├── exe_flow_step1_init.png │ ├── exe_flow_step2_keyChange.png │ ├── exe_flow_step3_swatt.png │ ├── exe_flow_step4_feedback.png │ ├── optee_client_server_2019_05_24.png │ ├── optee_client_server_2019_05_31.png │ ├── optee_client_server_2019_06_15.png │ ├── optee_client_server_2019_06_20.png │ └── optee_client_server_2019_07_10.png ├── Set_Raspberry_PI with Optee.docx ├── Set_Raspberry_PI with Optee.pdf ├── Trust client design.png ├── designDoc.pptx ├── design_31_05_2019.png ├── img │ ├── deviceVerify.png │ ├── filesStructure.png │ ├── generalWorkflow.png │ ├── getPATTparm.png │ ├── overview.png │ ├── resultUpload.png │ ├── toolchaindownload.png │ └── workflow.png ├── position.png ├── reuslt_0.png ├── testResult_2019-05-31-082728_1920x1080_scrot.png ├── test_result_2019-05-31-093949_1920x1080_scrot.png ├── trustclientResult.png └── worksitualtion.png └── src ├── Constants.py ├── IOT_Att.py ├── aesTest.c ├── aesTest.py ├── client.c ├── fileAccess.c ├── fileSwatt.c ├── firmwGlobal.py ├── firmwMsgMgr.py ├── firmwTAServer.py ├── firmwareSample ├── randomTest ├── server.py ├── taServer.py ├── trustClient.zip └── trustClient ├── run ├── configLocal.txt └── runTC.sh └── trustClient ├── Android.mk ├── Makefile ├── build_ta_helloworld_qemu.sh ├── doc ├── Makefile ├── close_session_and_finalize_context.msc ├── invoke_command.msc └── open_session.msc ├── host ├── Makefile └── main.c └── ta ├── Android.mk ├── Makefile ├── aes_ta.c ├── include └── aes_ta.h ├── sub.mk └── user_ta_header_defines.h /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/README.md -------------------------------------------------------------------------------- /doc/2019-05-29_095400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/2019-05-29_095400.png -------------------------------------------------------------------------------- /doc/2019-05-29_113640.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/2019-05-29_113640.png -------------------------------------------------------------------------------- /doc/Design_flowChart/exe_flow_step1_init.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/exe_flow_step1_init.png -------------------------------------------------------------------------------- /doc/Design_flowChart/exe_flow_step2_keyChange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/exe_flow_step2_keyChange.png -------------------------------------------------------------------------------- /doc/Design_flowChart/exe_flow_step3_swatt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/exe_flow_step3_swatt.png -------------------------------------------------------------------------------- /doc/Design_flowChart/exe_flow_step4_feedback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/exe_flow_step4_feedback.png -------------------------------------------------------------------------------- /doc/Design_flowChart/optee_client_server_2019_05_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/optee_client_server_2019_05_24.png -------------------------------------------------------------------------------- /doc/Design_flowChart/optee_client_server_2019_05_31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/optee_client_server_2019_05_31.png -------------------------------------------------------------------------------- /doc/Design_flowChart/optee_client_server_2019_06_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/optee_client_server_2019_06_15.png -------------------------------------------------------------------------------- /doc/Design_flowChart/optee_client_server_2019_06_20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/optee_client_server_2019_06_20.png -------------------------------------------------------------------------------- /doc/Design_flowChart/optee_client_server_2019_07_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Design_flowChart/optee_client_server_2019_07_10.png -------------------------------------------------------------------------------- /doc/Set_Raspberry_PI with Optee.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Set_Raspberry_PI with Optee.docx -------------------------------------------------------------------------------- /doc/Set_Raspberry_PI with Optee.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Set_Raspberry_PI with Optee.pdf -------------------------------------------------------------------------------- /doc/Trust client design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/Trust client design.png -------------------------------------------------------------------------------- /doc/designDoc.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/designDoc.pptx -------------------------------------------------------------------------------- /doc/design_31_05_2019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/design_31_05_2019.png -------------------------------------------------------------------------------- /doc/img/deviceVerify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/deviceVerify.png -------------------------------------------------------------------------------- /doc/img/filesStructure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/filesStructure.png -------------------------------------------------------------------------------- /doc/img/generalWorkflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/generalWorkflow.png -------------------------------------------------------------------------------- /doc/img/getPATTparm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/getPATTparm.png -------------------------------------------------------------------------------- /doc/img/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/overview.png -------------------------------------------------------------------------------- /doc/img/resultUpload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/resultUpload.png -------------------------------------------------------------------------------- /doc/img/toolchaindownload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/toolchaindownload.png -------------------------------------------------------------------------------- /doc/img/workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/img/workflow.png -------------------------------------------------------------------------------- /doc/position.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/position.png -------------------------------------------------------------------------------- /doc/reuslt_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/reuslt_0.png -------------------------------------------------------------------------------- /doc/testResult_2019-05-31-082728_1920x1080_scrot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/testResult_2019-05-31-082728_1920x1080_scrot.png -------------------------------------------------------------------------------- /doc/test_result_2019-05-31-093949_1920x1080_scrot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/test_result_2019-05-31-093949_1920x1080_scrot.png -------------------------------------------------------------------------------- /doc/trustclientResult.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/trustclientResult.png -------------------------------------------------------------------------------- /doc/worksitualtion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/doc/worksitualtion.png -------------------------------------------------------------------------------- /src/Constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/Constants.py -------------------------------------------------------------------------------- /src/IOT_Att.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/IOT_Att.py -------------------------------------------------------------------------------- /src/aesTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/aesTest.c -------------------------------------------------------------------------------- /src/aesTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/aesTest.py -------------------------------------------------------------------------------- /src/client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/client.c -------------------------------------------------------------------------------- /src/fileAccess.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/fileAccess.c -------------------------------------------------------------------------------- /src/fileSwatt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/fileSwatt.c -------------------------------------------------------------------------------- /src/firmwGlobal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/firmwGlobal.py -------------------------------------------------------------------------------- /src/firmwMsgMgr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/firmwMsgMgr.py -------------------------------------------------------------------------------- /src/firmwTAServer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/firmwTAServer.py -------------------------------------------------------------------------------- /src/firmwareSample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/firmwareSample -------------------------------------------------------------------------------- /src/randomTest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/randomTest -------------------------------------------------------------------------------- /src/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/server.py -------------------------------------------------------------------------------- /src/taServer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/taServer.py -------------------------------------------------------------------------------- /src/trustClient.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient.zip -------------------------------------------------------------------------------- /src/trustClient/run/configLocal.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/run/configLocal.txt -------------------------------------------------------------------------------- /src/trustClient/run/runTC.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/run/runTC.sh -------------------------------------------------------------------------------- /src/trustClient/trustClient/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/Android.mk -------------------------------------------------------------------------------- /src/trustClient/trustClient/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/Makefile -------------------------------------------------------------------------------- /src/trustClient/trustClient/build_ta_helloworld_qemu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/build_ta_helloworld_qemu.sh -------------------------------------------------------------------------------- /src/trustClient/trustClient/doc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/doc/Makefile -------------------------------------------------------------------------------- /src/trustClient/trustClient/doc/close_session_and_finalize_context.msc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/doc/close_session_and_finalize_context.msc -------------------------------------------------------------------------------- /src/trustClient/trustClient/doc/invoke_command.msc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/doc/invoke_command.msc -------------------------------------------------------------------------------- /src/trustClient/trustClient/doc/open_session.msc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/doc/open_session.msc -------------------------------------------------------------------------------- /src/trustClient/trustClient/host/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/host/Makefile -------------------------------------------------------------------------------- /src/trustClient/trustClient/host/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/host/main.c -------------------------------------------------------------------------------- /src/trustClient/trustClient/ta/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/ta/Android.mk -------------------------------------------------------------------------------- /src/trustClient/trustClient/ta/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/ta/Makefile -------------------------------------------------------------------------------- /src/trustClient/trustClient/ta/aes_ta.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/ta/aes_ta.c -------------------------------------------------------------------------------- /src/trustClient/trustClient/ta/include/aes_ta.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/ta/include/aes_ta.h -------------------------------------------------------------------------------- /src/trustClient/trustClient/ta/sub.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/ta/sub.mk -------------------------------------------------------------------------------- /src/trustClient/trustClient/ta/user_ta_header_defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiuYuancheng/Raspberry_PI_OPTEE/HEAD/src/trustClient/trustClient/ta/user_ta_header_defines.h --------------------------------------------------------------------------------