summaryrefslogtreecommitdiff
path: root/ta/pkcs11/src/persistent_token.c
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2020-04-09 13:28:04 +0200
committerJérôme Forissier <jerome@forissier.org>2020-04-16 15:42:19 +0200
commit8e03579eea6477af3dfb4597cb0d5983318a3a77 (patch)
tree8d81dd00c583d634bdc075a29f8c1abc56fa18d1 /ta/pkcs11/src/persistent_token.c
parent2a61742650aa04627da774517bf4a3324ed7abdf (diff)
ta: pkcs11: helper for GPD TEE to PKCS#11 status conversion
Introduce helper function pkcs2tee_error() for the several TEE Core Internal APIs called for which return value needs to be reported to caller in PKCS#11 return code format. The function returns PKCS11_CKR_GENERAL_ERROR for TEE_Result values that do not strictly match a PKCS#11 return code. Acked-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Co-developed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'ta/pkcs11/src/persistent_token.c')
0 files changed, 0 insertions, 0 deletions