| commit | 182874320395787a389e5b0f7df02b32f3c0a1b0 | [log] [tgz] |
|---|---|---|
| author | Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> | Fri Oct 01 14:07:38 2021 +0300 |
| committer | Jérôme Forissier <jerome@forissier.org> | Mon Oct 04 15:35:00 2021 +0200 |
| tree | 591c1770be73bc148dfbde4fe427d40ca69ff711 | |
| parent | 96f9ebe3a6e19ea059735f992ce3544369634b5e [diff] |
libckteec: Fix return value for wrong size CK_ULONG We should return CKR_ATTRIBUTE_VALUE_INVALID to indicate that value is incorrect. CKR_ATTRIBUTE_TYPE_INVALID is used to indicate that unknown attribute was provided. Specified in: PKCS #11 Cryptographic Token Interface Base Specification Version 2.40 Plus Errata 01 4.1.1 Creating objects "2. If the supplied template specifies an invalid value for a valid attribute, then the attempt should fail with the error code CKR_ATTRIBUTE_VALUE_INVALID." 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 non-secure side implementation of the OP-TEE project making up the client library and tee-supplicant.
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_client.
// OP-TEE core maintainers