Home
last modified time | relevance | path

Searched refs:ta_rc (Results 1 – 1 of 1) sorted by relevance

/optee_client/libckteec/src/
A Dinvoke_ta.c129 uint32_t ta_rc = PKCS11_CKR_GENERAL_ERROR; in ckteec_invoke_ta() local
148 op.params[0].tmpref.buffer = &ta_rc; in ckteec_invoke_ta()
149 op.params[0].tmpref.size = sizeof(ta_rc); in ckteec_invoke_ta()
172 if (op.params[0].memref.size == sizeof(ta_rc)) in ckteec_invoke_ta()
173 memcpy(&ta_rc, ctrl->buffer, sizeof(ta_rc)); in ckteec_invoke_ta()
175 if (op.params[0].tmpref.size != sizeof(ta_rc)) in ckteec_invoke_ta()
176 ta_rc = PKCS11_CKR_GENERAL_ERROR; in ckteec_invoke_ta()
180 ta_rc = CKR_BUFFER_TOO_SMALL; in ckteec_invoke_ta()
188 if (ta_rc == CKR_OK || ta_rc == CKR_BUFFER_TOO_SMALL) { in ckteec_invoke_ta()
195 return ta_rc; in ckteec_invoke_ta()

Completed in 3 milliseconds