Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dsst_stub.c86 TEEC_Operation sOperation; in SSTInit() local
120 sOperation.params[3].tmpref.buffer = pSignatureFile; in SSTInit()
121 sOperation.params[3].tmpref.size = nSignatureFileLen; in SSTInit()
126 sOperation.paramTypes = TEEC_PARAM_TYPES(TEEC_NONE, TEEC_NONE, TEEC_NONE, nParamType3); in SSTInit()
132 &sOperation, /* IN OUT operation */ in SSTInit()
259 TEEC_Operation sOperation; in SSTOpen() local
282sOperation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INOUT, TEEC_MEMREF_TEMP_INPUT, TEEC_NONE, TEEC… in SSTOpen()
283 sOperation.params[0].value.a = 1; /* Private storage */ in SSTOpen()
284 sOperation.params[0].value.b = nFlags; /* Access flags */ in SSTOpen()
285 sOperation.params[1].tmpref.buffer = (void*)pFilename; in SSTOpen()
[all …]
Dpkcs11_object.c262 TEEC_Operation sOperation; in static_C_CallInit() local
278 memset(&sOperation, 0, sizeof(TEEC_Operation)); in static_C_CallInit()
279 sOperation.params[0].value.a = (uint32_t)pMechanism->mechanism; in static_C_CallInit()
282 sOperation.params[0].value.b = (uint32_t)hKey; in static_C_CallInit()
285 sOperation.params[1].tmpref.buffer = (uint8_t*)pMechanism->pParameter; in static_C_CallInit()
286 sOperation.params[1].tmpref.size = (uint32_t)pMechanism->ulParameterLen; in static_C_CallInit()
296sOperation.params[2].tmpref.buffer = (uint8_t*)((CK_RSA_PKCS_OAEP_PARAMS_PTR)(pMechanism->pParamet… in static_C_CallInit()
297sOperation.params[2].tmpref.size = (uint32_t) ((CK_RSA_PKCS_OAEP_PARAMS_PTR)(pMechanism->pParame… in static_C_CallInit()
299sOperation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INPUT, TEEC_MEMREF_TEMP_INPUT, nParamType2, TE… in static_C_CallInit()
302 &sOperation, /* IN OUT operation */ in static_C_CallInit()
[all …]
Dpkcs11_session.c55 TEEC_Operation sOperation; in C_OpenSession() local
142 memset(&sOperation, 0, sizeof(TEEC_Operation)); in C_OpenSession()
154 sOperation.params[3].tmpref.buffer = pSignatureFile; in C_OpenSession()
155 sOperation.params[3].tmpref.size = nSignatureFileLen; in C_OpenSession()
169 sOperation.paramTypes = TEEC_PARAM_TYPES(TEEC_NONE, TEEC_NONE, TEEC_NONE, nParamType3); in C_OpenSession()
175 &sOperation, /* IN OUT operation */ in C_OpenSession()
199 memset(&sOperation, 0, sizeof(TEEC_Operation)); in C_OpenSession()
200 sOperation.params[0].value.a = slotID; in C_OpenSession()
201 sOperation.params[0].value.b = flags; /* access flags */ in C_OpenSession()
202 sOperation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INOUT, TEEC_NONE, TEEC_NONE, TEEC_NONE); in C_OpenSession()
[all …]
Dmtc.c81 TEEC_Operation sOperation; in static_getMonotonicCounter() local
105 sOperation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INOUT, TEEC_NONE, TEEC_NONE, TEEC_NONE); in static_getMonotonicCounter()
106 sOperation.params[0].value.a = pSession->nCounterIdentifier; in static_getMonotonicCounter()
107 sOperation.params[0].value.b = 0; in static_getMonotonicCounter()
111 &sOperation, in static_getMonotonicCounter()
114 psValue->nLow = sOperation.params[0].value.a; in static_getMonotonicCounter()
115 psValue->nHigh = sOperation.params[0].value.b; in static_getMonotonicCounter()
162 TEEC_Operation sOperation; in SMonotonicCounterOpen() local
205 sOperation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INOUT, TEEC_NONE, TEEC_NONE, TEEC_NONE); in SMonotonicCounterOpen()
206 sOperation.params[0].value.a = CKV_TOKEN_SYSTEM_SHARED; in SMonotonicCounterOpen()
[all …]
/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c1187 TEEC_Operation sOperation; in delegation_main() local
1393 if(createSession(&sContext, &sSession, &sOperation) == 0) in delegation_main()
1396 runSession(&sContext, &sSession, &sOperation); in delegation_main()