Hi,
I am trying to patch/port the GP compliance test suite (v1.8.0) to the latest Optee_test suite (commit-id: ac7e47c73637b0d34c6c45628ee94ff9a62a7e0e) and following the procedure as mentioned in http://www.linaro.org/blog/core-dump/testing-a-trusted-execution-environment...
When I did "make patch", I got errors related to unable to patch the files. I commented some in Makefile as some of the patches were not valid. Then managed to get "xalan" working and was able to generate the xtest host files and TA files. But the generated file xtest_9000.c is not correct. None of the tests have OpenSession call and directly a call to InvokeCommand.
*Xalan command used:* 1. XalanTransform TEE_Crypto_API.xml TEE_Crypto_API.xsl xtest_9000.c 2. java -jar ~/xalan.jar -in TEE_Crypto_API.xml -xsl TEE_Crypto_API.xsl -out xtest_9000.c
Can you please let me know if the "package" folder in optee_test suite needs update for latest GP test suite?
Thanks, Mohan
Hi Mohan,
On Fri, Oct 14, 2016 at 7:34 AM, Mohan V mohanvforum@gmail.com wrote:
Hi,
I am trying to patch/port the GP compliance test suite (v1.8.0) to the latest Optee_test suite (commit-id: ac7e47c73637b0d34c6c45628ee94ff9a62a7e0e) and following the procedure as mentioned in http://www.linaro.org/blog/ core-dump/testing-a-trusted-execution-environment/
When I did "make patch", I got errors related to unable to patch the files. I commented some in Makefile as some of the patches were not valid. Then managed to get "xalan" working and was able to generate the xtest host files and TA files. But the generated file xtest_9000.c is not correct. None of the tests have OpenSession call and directly a call to InvokeCommand.
*Xalan command used:*
- XalanTransform TEE_Crypto_API.xml TEE_Crypto_API.xsl xtest_9000.c
- java -jar ~/xalan.jar -in TEE_Crypto_API.xml -xsl TEE_Crypto_API.xsl
-out xtest_9000.c
Can you please let me know if the "package" folder in optee_test suite needs update for latest GP test suite?
I'm using TEE_Initial_Configuration-Test_Suite_v1_1_0_4-2014_11_07.7z. I
don't know about v1.8.0 but I wouldn't be surprised if some updates to the code were required to make it run.
Thanks,
Thanks Jerome for the reply.
On Fri, Oct 14, 2016 at 11:43 AM, Jerome Forissier < jerome.forissier@linaro.org> wrote:
Hi Mohan,
On Fri, Oct 14, 2016 at 7:34 AM, Mohan V mohanvforum@gmail.com wrote:
Hi,
I am trying to patch/port the GP compliance test suite (v1.8.0) to the latest Optee_test suite (commit-id: ac7e47c73637b0d34c6c45628ee94ff9a62a7e0e) and following the procedure as mentioned in http://www.linaro.org/blog/core-dump/testing-a-trusted-execu tion-environment/
When I did "make patch", I got errors related to unable to patch the files. I commented some in Makefile as some of the patches were not valid. Then managed to get "xalan" working and was able to generate the xtest host files and TA files. But the generated file xtest_9000.c is not correct. None of the tests have OpenSession call and directly a call to InvokeCommand.
*Xalan command used:*
- XalanTransform TEE_Crypto_API.xml TEE_Crypto_API.xsl xtest_9000.c
- java -jar ~/xalan.jar -in TEE_Crypto_API.xml -xsl TEE_Crypto_API.xsl
-out xtest_9000.c
Can you please let me know if the "package" folder in optee_test suite needs update for latest GP test suite?
I'm using TEE_Initial_Configuration-Test_Suite_v1_1_0_4-2014_11_07.7z.
I don't know about v1.8.0 but I wouldn't be surprised if some updates to the code were required to make it run.
Specifically I am interested in running the security tests which are part of the v1.8 test suite. I see that the ".xsl" file for the TEE_Security use cases is not present in optee_test suite. These xsl files are present for other test cases like ClientAPI, Crypto, Data Storage, etc,. Similar one will be required for generating the security test case files. Can you let me know if the updates to the code to include the "xsl" file for security tests will come from GP or Linaro?
Regards, Mohan
Thanks,
Jerome
Thanks,
Mohan
Tee-dev mailing list Tee-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/tee-dev
Hi Mohan,
On Fri, Oct 14, 2016 at 12:30 PM, Mohan V mohanvforum@gmail.com wrote:
Thanks Jerome for the reply.
On Fri, Oct 14, 2016 at 11:43 AM, Jerome Forissier < jerome.forissier@linaro.org> wrote:
Hi Mohan,
On Fri, Oct 14, 2016 at 7:34 AM, Mohan V mohanvforum@gmail.com wrote:
Hi,
I am trying to patch/port the GP compliance test suite (v1.8.0) to the latest Optee_test suite (commit-id: ac7e47c73637b0d34c6c45628ee94ff9a62a7e0e) and following the procedure as mentioned in http://www.linaro.org/blog/core-dump/testing-a-trusted-execu tion-environment/
When I did "make patch", I got errors related to unable to patch the files. I commented some in Makefile as some of the patches were not valid. Then managed to get "xalan" working and was able to generate the xtest host files and TA files. But the generated file xtest_9000.c is not correct. None of the tests have OpenSession call and directly a call to InvokeCommand.
*Xalan command used:*
- XalanTransform TEE_Crypto_API.xml TEE_Crypto_API.xsl xtest_9000.c
- java -jar ~/xalan.jar -in TEE_Crypto_API.xml -xsl TEE_Crypto_API.xsl
-out xtest_9000.c
Can you please let me know if the "package" folder in optee_test suite needs update for latest GP test suite?
I'm using TEE_Initial_Configuration-Test_Suite_v1_1_0_4-2014_11_07.7z.
I don't know about v1.8.0 but I wouldn't be surprised if some updates to the code were required to make it run.
Specifically I am interested in running the security tests which are part of the v1.8 test suite. I see that the ".xsl" file for the TEE_Security use cases is not present in optee_test suite. These xsl files are present for other test cases like ClientAPI, Crypto, Data Storage, etc,. Similar one will be required for generating the security test case files. Can you let me know if the updates to the code to include the "xsl" file for security tests will come from GP or Linaro?
AFAIK, the xsl files do not come from GP, and the ones in optee_test were developed by STMicroelectronics.
Thanks,