commit | bbe786213c7c82b443986d5ec441b2866230cbbc | [log] [tgz] |
---|---|---|
author | Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> | Sun Jun 27 16:03:13 2021 +0300 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Jun 29 09:36:10 2021 +0200 |
tree | 18df0bd2da1cdbb5ff4df8fe5dffb70c014be0ac | |
parent | 4502ca74c83c48c22423f458b3cff790c2666100 [diff] |
xtest: Add more tests for querying signature size for C_Sign/C_SignFinal It is possible that when querying memory that return buffer for signature size does not have any meaningful value. It has been observed that some PKCS#11 libraries does not initialize the memory to zero and it is also completely fine based on specification. Add test for the case so that it does not regress in future. Specified in: PKCS #11 Cryptographic Token Interface Base Specification Version 2.40 Plus Errata 01 5.2 Conventions for functions returning output in a variable-length buffer Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Ruchika Gupta <ruchika.gupta@linaro.org> Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
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