pkcs11 1010: Fix generic secret key test

Fix generic secret key test corrupted by commit [1] that changed
cktest_mac_cases[] first cell and made an AES_CMAC operation used by test
pcsk11_ to sign data with a generic secret key which is not allowed.
Let's define defining specific test data for pkcs11_1010 rather than
reuse cktest_mac_cases[] content which is dedicated to HMAC tests
(pkcs11_1008) and CMAC tests (pkcs11_1009).

Fixes: [1] da1e3aaa8e0f ("xtest: pkcs11: Add tests for AES CMAC mechanisms")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>
Tested-by: Jerome Forissier <jerome@forissier.org> (vexpress-qemu_armv8a)
1 file changed
tree: 25a8fee0ef415cdb8cb7ce1bb41890a94549f2c1
  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