xtest: pkcs11_1000.c: Test support of object checksum value computation

This test involves PKCS11_CKA_CHECK_VALUE when enabled, as per the
spec, the attribute can be either the legitimate value recomputed by
the PKCS#11 token or a zero-sized value called a no-value for when
client does not want the attribute to set in an object. This test
invokes Cryptoki API functions C_GenerateKey(), C_CreateObject(),
C_CopyObject(), C_SetAttributeValue(), C_UnwrapKey() and C_DeriveKey()
to perform check value computation and this test query the value using
C_GetAttributeValue().

Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
1 file changed
tree: ebf0417efd2151508aab59df460b90ed7d6fc043
  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