Home
last modified time | relevance | path

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

/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dpkcs11_session.c54 TEEC_Result nTeeError; in C_OpenSession() local
146 nTeeError = TEEC_ReadSignatureFile((void **)&pSignatureFile, &nSignatureFileLen); in C_OpenSession()
147 if (nTeeError != TEEC_ERROR_ITEM_NOT_FOUND) in C_OpenSession()
149 if (nTeeError != TEEC_SUCCESS) in C_OpenSession()
170 nTeeError = TEEC_OpenSession(&g_sContext, in C_OpenSession()
178 if (nTeeError != TEEC_SUCCESS) in C_OpenSession()
182 if ( (nTeeError == TEEC_ERROR_NOT_SUPPORTED) && in C_OpenSession()
203 nTeeError = TEEC_InvokeCommand(&pSession->sSession, in C_OpenSession()
208 if (nTeeError != TEEC_SUCCESS) in C_OpenSession()
253 nTeeError = TEEC_InvokeCommand(&pSession->sSession, in C_OpenSession()
[all …]
Dpkcs11_global.c77 TEEC_Result nTeeError; in stubInitializeContext() local
85 nTeeError = TEEC_InitializeContext(NULL, &g_sContext); in stubInitializeContext()
86 if (nTeeError == TEEC_SUCCESS) in stubInitializeContext()
91 return nTeeError; in stubInitializeContext()
202 TEEC_Result nTeeError; in C_Initialize() local
216 nTeeError = stubInitializeContext(); in C_Initialize()
217 if (nTeeError == TEEC_SUCCESS) in C_Initialize()
221 nErrorCode = ckInternalTeeErrorToCKError(nTeeError); in C_Initialize()
Dmtc.c126 TEEC_Result nTeeError; in SMonotonicCounterInit() local
131 nTeeError = TEEC_SUCCESS; in SMonotonicCounterInit()
135 nTeeError = stubInitializeContext(); in SMonotonicCounterInit()
136 if (nTeeError == TEEC_SUCCESS) in SMonotonicCounterInit()
143 return nTeeError; in SMonotonicCounterInit()
Dsst_stub.c84 TEEC_Result nTeeError = TEEC_SUCCESS; in SSTInit() local
95 nTeeError = TEEC_SUCCESS; in SSTInit()
99 nTeeError = stubInitializeContext(); in SSTInit()
100 if (nTeeError != TEEC_SUCCESS) in SSTInit()
108 nTeeError = TEEC_ReadSignatureFile(&pSignatureFile, &nSignatureFileLen); in SSTInit()
109 if (nTeeError == TEEC_ERROR_ITEM_NOT_FOUND) in SSTInit()
115 if (nTeeError != TEEC_SUCCESS) in SSTInit()
126 nTeeError = TEEC_OpenSession(&g_sContext, in SSTInit()
134 if (nTeeError != TEEC_SUCCESS) in SSTInit()
147 return static_SSTConvertErrorCode(nTeeError); in SSTInit()
/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dpkcs11_session.c54 TEEC_Result nTeeError; in C_OpenSession() local
146 nTeeError = TEEC_ReadSignatureFile((void **)&pSignatureFile, &nSignatureFileLen); in C_OpenSession()
147 if (nTeeError != TEEC_ERROR_ITEM_NOT_FOUND) in C_OpenSession()
149 if (nTeeError != TEEC_SUCCESS) in C_OpenSession()
170 nTeeError = TEEC_OpenSession(&g_sContext, in C_OpenSession()
178 if (nTeeError != TEEC_SUCCESS) in C_OpenSession()
182 if ( (nTeeError == TEEC_ERROR_NOT_SUPPORTED) && in C_OpenSession()
203 nTeeError = TEEC_InvokeCommand(&pSession->sSession, in C_OpenSession()
208 if (nTeeError != TEEC_SUCCESS) in C_OpenSession()
253 nTeeError = TEEC_InvokeCommand(&pSession->sSession, in C_OpenSession()
[all …]
Dpkcs11_global.c77 TEEC_Result nTeeError; in stubInitializeContext() local
85 nTeeError = TEEC_InitializeContext(NULL, &g_sContext); in stubInitializeContext()
86 if (nTeeError == TEEC_SUCCESS) in stubInitializeContext()
91 return nTeeError; in stubInitializeContext()
202 TEEC_Result nTeeError; in C_Initialize() local
216 nTeeError = stubInitializeContext(); in C_Initialize()
217 if (nTeeError == TEEC_SUCCESS) in C_Initialize()
221 nErrorCode = ckInternalTeeErrorToCKError(nTeeError); in C_Initialize()
Dmtc.c126 TEEC_Result nTeeError; in SMonotonicCounterInit() local
131 nTeeError = TEEC_SUCCESS; in SMonotonicCounterInit()
135 nTeeError = stubInitializeContext(); in SMonotonicCounterInit()
136 if (nTeeError == TEEC_SUCCESS) in SMonotonicCounterInit()
143 return nTeeError; in SMonotonicCounterInit()
Dsst_stub.c85 TEEC_Result nTeeError = TEEC_SUCCESS; in SSTInit() local
96 nTeeError = TEEC_SUCCESS; in SSTInit()
100 nTeeError = stubInitializeContext(); in SSTInit()
101 if (nTeeError != TEEC_SUCCESS) in SSTInit()
109 nTeeError = TEEC_ReadSignatureFile(&pSignatureFile, &nSignatureFileLen); in SSTInit()
110 if (nTeeError == TEEC_ERROR_ITEM_NOT_FOUND) in SSTInit()
116 if (nTeeError != TEEC_SUCCESS) in SSTInit()
127 nTeeError = TEEC_OpenSession(&g_sContext, in SSTInit()
135 if (nTeeError != TEEC_SUCCESS) in SSTInit()
148 return static_SSTConvertErrorCode(nTeeError); in SSTInit()
/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c882 TEEC_Result nTeeError; in runSession() local
903 nTeeError = TEEC_InvokeCommand(pSession, in runSession()
909 if (nTeeError != TEEC_SUCCESS) in runSession()
911 LogError("TEEC_InvokeCommand error: 0x%08X", nTeeError); in runSession()
/hardware/ti/omap4-aah/security/tf_daemon/
Ddelegation_client.c1000 TEEC_Result nTeeError; in runSession() local
1021 nTeeError = TEEC_InvokeCommand(pSession, in runSession()
1027 if (nTeeError != TEEC_SUCCESS) in runSession()
1029 LogError("TEEC_InvokeCommand error: 0x%08X", nTeeError); in runSession()