Home
last modified time | relevance | path

Searched hist:"0460 a039e411d4766636fa59a08a4f50e5cb33f8" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c0460a039e411d4766636fa59a08a4f50e5cb33f8 Tue Nov 03 09:27:25 UTC 2020 Ruchika Gupta <ruchika.gupta@linaro.org> ta: pkcs11: fix return code on one-shot process of a updated operation

Fix return value when one-short processing is requested over an operation
that has already gone through a operation update processing. Prior this
change the PKCS11 TA return PKCS11_CKR_KEY_FUNCTION_NOT_PERMITTED which
is not accurate when key permits the operation but not the specification.

For clarity, this change splits one-shot and update steps case in
check_mechanism_against_processing().

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Ruchika Gupta <ruchika.gupta@linaro.org>