Home
last modified time | relevance | path

Searched hist:"2 ea9746d84bb9c057f85acebf6b1fe87fb0e2f6b" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c2ea9746d84bb9c057f85acebf6b1fe87fb0e2f6b Fri Dec 15 11:03:28 UTC 2023 Etienne Carriere <etienne.carriere@foss.st.com> ta: pkcs11: treat bad KCV size as a bad value case

Return PKCS11_CKR_ATTRIBUTE_VALUE_INVALID instead of a template
inconsistency when the key check value attribute is wrong due to its
size.

Fixes: bcac2127a7f1 ("ta: pkcs11: pkcs11_attributes.c: support PKCS11_CKA_CHECK_VALUE")
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>