commit | 1399f0d536f891e28aa82f024cb15b2e28ee7431 | [log] [tgz] |
---|---|---|
author | Etienne Carriere <etienne.carriere@linaro.org> | Tue Oct 05 14:08:15 2021 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Oct 05 16:40:18 2021 +0200 |
tree | 25a8fee0ef415cdb8cb7ce1bb41890a94549f2c1 | |
parent | bcedd371382a0a1f8e3c07aee9c901b437feb714 [diff] |
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)
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