commit | e86aba278fa505f4420da9ac384b95a42d6f83c0 | [log] [tgz] |
---|---|---|
author | Ruchika Gupta <ruchika.gupta@linaro.org> | Thu Mar 11 00:36:01 2021 +0530 |
committer | Jérôme Forissier <jerome@forissier.org> | Fri Mar 12 11:30:51 2021 +0100 |
tree | ea9dfb6f57e69fccb3009325e0d25576d24fdfc2 | |
parent | 80768397ecec151d22e135a9d2ceb3f77be0f770 [diff] |
xtest: pkcs11: Correct template for secret key When creating object of type CKO_GENERIC_SECRET using C_CreateObject(), CKA_VALUE is mandatory attribute in the template and CKA_VALUE_LENGTH should not be provided. This check was added in the implementation recently so the template need to be corrected. Also add an additional check to confirm that CKA_VALUE_LENGTH gets populated correctly by the TA when such objects are created. Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Ruchika Gupta <ruchika.gupta@linaro.org>
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