GP: expect non zero digestLength

OP-TEE commit 2e5e6460eb36 ("libutee: Set digestLength value in
TEE_OperationInfo structure") causes a regression in the GP test suite
(version v1_1_0_4-2014_11_07), namely: tests gp_9052 and gp_9115. These
tests expect an output digestLength of zero, which is surprising
actually. It turns out later versions of the GP tests have fixed this
issue by introducing new defines for the SHA256 and MD5 digest lengths.
This commit updates the patches applied to the test XML and the
generated gp_9000.c accordingly.

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Tested-by: Jerome Forissier <jerome@forissier.org> (QEMU/HiKey960, GP)
Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (QEMU, GP)
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
3 files changed
tree: f7c1d00097394881e57931f9f934fc91998abd76
  1. .github/
  2. cert/
  3. host/
  4. package/
  5. scripts/
  6. ta/
  7. .gitignore
  8. Android.mk
  9. CMakeLists.txt
  10. CMakeToolchain.txt
  11. LICENSE.md
  12. Makefile
  13. README.md
  14. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

This git contains source code for the test suite (xtest) used to test the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.

// OP-TEE core maintainers