Home
last modified time | relevance | path

Searched hist:"9 df68186a76db7cf0a5c9d633cd08db69b7131a0" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dprocessing_asymm.c9df68186a76db7cf0a5c9d633cd08db69b7131a0 Tue Aug 24 16:35:38 UTC 2021 Etienne Carriere <etienne.carriere@linaro.org> ta: pkcs11: fix error code in asymmetric signature update sequence

Correct return code in asymmetric update sequence when digest of
the input data is updated on a multi-stage operation. Prior this
change, the implementation returned CKR_GENERAL_ERROR instead of
CKR_OK because the expected success return value was loaded for
that stage.

Fixes: fb279d8b608e ("ta: pkcs11: Add support for elliptic curve signing & verification")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Ruchika Gupta <ruchika.gupta@linaro.org>