Home
last modified time | relevance | path

Searched hist:"3 bc92b9120e6bf29b1056ab75bedeefa1c20d1a6" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c3bc92b9120e6bf29b1056ab75bedeefa1c20d1a6 Mon Jan 08 10:14:45 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> ta: pkcs11: use TEE_InitRefAttribute() to compute key check value

Use TEE_InitRefAttribute() helper function to set key data attribute
in compute_check_value_with_ecb().

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