xtest: pkcs11_1001: Test CK_UNAVAILABLE_INFORMATION output value

OP-TEE's PKCS#11 TA TEE<->REE interface treats CK_ULONG's as 32 bit.

In 64 bit machines this creates a problem for CK_ULONG values that are
architecture dependent.

One of those defines is CK_UNAVAILABLE_INFORMATION.

This adds test case to make sure that when OP-TEE's PKCS#11 TA should give
CK_UNAVAILABLE_INFORMATION it actually does that.

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
1 file changed
tree: e7dbadf72beac7673d47b9a89f382657a59814ae
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. 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