Searched hist:"208 dec389c1d63353477a478f774ee701285772b" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | pkcs11_helpers.h | 208dec389c1d63353477a478f774ee701285772b Mon Jan 20 10:01:14 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> ta: pkcs11: report PKCS11 return code to client
For the PKCS11 TA to provide client a meaningful return code as per PKCS#11 specification, the GPD TEE command invocation return code is forced to TEE_SUCCESS and client is expected to read effective PKCS11 return code (which can report a success or a failure) from invocation parameter #0 that must be a input/output memory reference. The status is return as a 32bit value in the output buffer.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | entry.c | 208dec389c1d63353477a478f774ee701285772b Mon Jan 20 10:01:14 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> ta: pkcs11: report PKCS11 return code to client
For the PKCS11 TA to provide client a meaningful return code as per PKCS#11 specification, the GPD TEE command invocation return code is forced to TEE_SUCCESS and client is expected to read effective PKCS11 return code (which can report a success or a failure) from invocation parameter #0 that must be a input/output memory reference. The status is return as a 32bit value in the output buffer.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|