/hardware/ti/omap4-aah/security/tf_crypto_sst/ |
D | pkcs11_object.c | 184 CK_RV nErrorCode; in static_encodeTwoTemplates() local 186 nErrorCode = static_analyzeTemplate(&nDataOffset, &nBufferSize, pTemplate1, ulCount1); in static_encodeTwoTemplates() 187 if (nErrorCode != CKR_OK) return nErrorCode; in static_encodeTwoTemplates() 188 nErrorCode = static_analyzeTemplate(&nDataOffset, &nBufferSize, pTemplate2, ulCount2); in static_encodeTwoTemplates() 189 if (nErrorCode != CKR_OK) return nErrorCode; in static_encodeTwoTemplates() 224 CK_RV nErrorCode; in static_encodeTemplate() local 233 nErrorCode = static_analyzeTemplate(&nDataOffset, &nBufferSize, pTemplate, ulCount); in static_encodeTemplate() 234 if (nErrorCode != CKR_OK) return nErrorCode; in static_encodeTemplate() 260 CK_RV nErrorCode = CKR_OK; in static_C_CallInit() local 265 …nErrorCode = static_checkPreConditionsAndUpdateHandles(&hSession, &nCommandIDAndSession, &pSession… in static_C_CallInit() [all …]
|
D | pkcs11_global.c | 201 CK_RV nErrorCode; in C_Initialize() local 212 nErrorCode = CKR_CRYPTOKI_ALREADY_INITIALIZED; in C_Initialize() 221 nErrorCode = ckInternalTeeErrorToCKError(nTeeError); in C_Initialize() 225 return nErrorCode; in C_Initialize() 230 CK_RV nErrorCode; in C_Finalize() local 242 nErrorCode = CKR_OK; in C_Finalize() 246 nErrorCode = CKR_CRYPTOKI_NOT_INITIALIZED; in C_Finalize() 250 return nErrorCode; in C_Finalize()
|
D | pkcs11_session.c | 52 CK_RV nErrorCode = CKR_OK; in C_OpenSession() local 272 nErrorCode = (nErrorOrigin == TEEC_ORIGIN_TRUSTED_APP ? in C_OpenSession() 289 return nErrorCode; in C_OpenSession() 294 CK_RV nErrorCode = CKR_OK; in C_CloseSession() local 394 nErrorCode = (nErrorOrigin == TEEC_ORIGIN_TRUSTED_APP ? in C_CloseSession() 397 return nErrorCode; in C_CloseSession()
|
D | sst_stub.c | 260 SST_ERROR nErrorCode = SST_SUCCESS; in SSTOpen() local 269 nErrorCode = static_SSTCheckFileName(pFilename); in SSTOpen() 270 if (nErrorCode != SST_SUCCESS) in SSTOpen() 272 return nErrorCode; in SSTOpen()
|
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
D | pkcs11_object.c | 115 CK_RV nErrorCode = CKR_OK; in static_encodeTwoTemplates() local 191 nErrorCode = CKR_DEVICE_ERROR; in static_encodeTwoTemplates() 223 nErrorCode = CKR_DEVICE_ERROR; in static_encodeTwoTemplates() 237 return nErrorCode; in static_encodeTwoTemplates() 263 CK_RV nErrorCode = CKR_OK; in static_C_CallInit() local 268 …nErrorCode = static_checkPreConditionsAndUpdateHandles(&hSession, &nCommandIDAndSession, &pSession… in static_C_CallInit() 269 if (nErrorCode != CKR_OK) in static_C_CallInit() 271 return nErrorCode; in static_C_CallInit() 305 nErrorCode = (nErrorOrigin == TEEC_ORIGIN_TRUSTED_APP ? in static_C_CallInit() 309 return nErrorCode; in static_C_CallInit() [all …]
|
D | pkcs11_global.c | 201 CK_RV nErrorCode; in C_Initialize() local 212 nErrorCode = CKR_CRYPTOKI_ALREADY_INITIALIZED; in C_Initialize() 221 nErrorCode = ckInternalTeeErrorToCKError(nTeeError); in C_Initialize() 225 return nErrorCode; in C_Initialize() 230 CK_RV nErrorCode; in C_Finalize() local 242 nErrorCode = CKR_OK; in C_Finalize() 246 nErrorCode = CKR_CRYPTOKI_NOT_INITIALIZED; in C_Finalize() 250 return nErrorCode; in C_Finalize()
|
D | pkcs11_session.c | 52 CK_RV nErrorCode = CKR_OK; in C_OpenSession() local 272 nErrorCode = (nErrorOrigin == TEEC_ORIGIN_TRUSTED_APP ? in C_OpenSession() 289 return nErrorCode; in C_OpenSession() 294 CK_RV nErrorCode = CKR_OK; in C_CloseSession() local 394 nErrorCode = (nErrorOrigin == TEEC_ORIGIN_TRUSTED_APP ? in C_CloseSession() 397 return nErrorCode; in C_CloseSession()
|
D | sst_stub.c | 261 SST_ERROR nErrorCode = SST_SUCCESS; in SSTOpen() local 270 nErrorCode = static_SSTCheckFileName(pFilename); in SSTOpen() 271 if (nErrorCode != SST_SUCCESS) in SSTOpen() 273 return nErrorCode; in SSTOpen()
|
/hardware/ti/omap4-aah/security/tee_client_api/ |
D | schannel6_protocol.h | 310 uint32_t nErrorCode; member 319 uint32_t nErrorCode; member 330 uint32_t nErrorCode; member 342 uint32_t nErrorCode; member 353 uint32_t nErrorCode; member 362 uint32_t nErrorCode; member 373 uint32_t nErrorCode; member 384 uint32_t nErrorCode; member 395 uint32_t nErrorCode; member 405 uint32_t nErrorCode; member
|
D | tee_client_api_linux_driver.c | 540 nResult = sAnswer.sRegisterSharedMemory.nErrorCode; in TEEC_RegisterSharedMemory0() 653 if (sAnswer.sCancelClientOperation.nErrorCode == S_SUCCESS) in TEEC_RequestCancellation() 672 TEEC_Result nErrorCode = TEEC_SUCCESS; in TEEC_ReadSignatureFile() local 704 nErrorCode = TEEC_ERROR_OS; in TEEC_ReadSignatureFile() 713 nErrorCode = TEEC_ERROR_OS; in TEEC_ReadSignatureFile() 726 nErrorCode = TEEC_ERROR_OUT_OF_MEMORY; in TEEC_ReadSignatureFile() 736 nErrorCode = TEEC_ERROR_OS; in TEEC_ReadSignatureFile() 752 return nErrorCode; in TEEC_ReadSignatureFile() 817 nError = sAnswer.sOpenClientSession.nErrorCode; in TEEC_OpenSessionEx() 885 nError = sAnswer.sInvokeClientCommand.nErrorCode; in TEEC_InvokeCommandEx()
|
/hardware/ti/omap4xxx/security/tee_client_api/ |
D | schannel6_protocol.h | 310 uint32_t nErrorCode; member 319 uint32_t nErrorCode; member 330 uint32_t nErrorCode; member 342 uint32_t nErrorCode; member 353 uint32_t nErrorCode; member 362 uint32_t nErrorCode; member 373 uint32_t nErrorCode; member 384 uint32_t nErrorCode; member 395 uint32_t nErrorCode; member 405 uint32_t nErrorCode; member
|
D | tee_client_api_linux_driver.c | 532 nResult = sAnswer.sRegisterSharedMemory.nErrorCode; in TEEC_RegisterSharedMemory0() 645 if (sAnswer.sCancelClientOperation.nErrorCode == S_SUCCESS) in TEEC_RequestCancellation() 664 TEEC_Result nErrorCode = TEEC_SUCCESS; in TEEC_ReadSignatureFile() local 696 nErrorCode = TEEC_ERROR_OS; in TEEC_ReadSignatureFile() 705 nErrorCode = TEEC_ERROR_OS; in TEEC_ReadSignatureFile() 718 nErrorCode = TEEC_ERROR_OUT_OF_MEMORY; in TEEC_ReadSignatureFile() 728 nErrorCode = TEEC_ERROR_OS; in TEEC_ReadSignatureFile() 744 return nErrorCode; in TEEC_ReadSignatureFile() 809 nError = sAnswer.sOpenClientSession.nErrorCode; in TEEC_OpenSessionEx() 877 nError = sAnswer.sInvokeClientCommand.nErrorCode; in TEEC_InvokeCommandEx()
|