commit | 9e5867b788cc4d11c0526001915a9d7c487b5b0c | [log] [tgz] |
---|---|---|
author | Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> | Thu Jul 01 08:42:46 2021 +0300 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Jul 20 09:48:22 2021 +0200 |
tree | a49fbfdec57794d8386c7a7f97b940a98f438dd9 | |
parent | 9ab0250d3c65abce9f55a0d732b6424412533102 [diff] |
xtest: pkcs11: Verify that bad arguments is reported for cipher finals Verify that CKR_BAD_ARGUMENT is reported properly for: - C_EncryptFinal with invalid arguments - C_DecryptFinal with invalid arguments Test here is expected to fail always with same error so check for that and then clear the error code so that only expected return value is checked. Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Reviewed-by: Etienne Carriere <etienne.carriere@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