Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/
H A Dxml_crypto_api.h1263 TEEC_SharedMemory *shm2, size_t *offs_2) in add_attr() argument
1276 if (*offs_2 + sz > shm2->size) in add_attr()
1278 memcpy((uint8_t *)shm2->buffer + *offs_2, v, sz); in add_attr()
1310 TEEC_SharedMemory shm2 = { in Invoke_Crypto_InitObjectWithKeys() local
1319 res = TEEC_AllocateSharedMemory(s->ctx, &shm2); in Invoke_Crypto_InitObjectWithKeys()
1323 res = add_attr(id1, v1, sz1, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1326 res = add_attr(id2, v2, sz2, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1329 res = add_attr(id3, v3, sz3, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1332 res = add_attr(id4, v4, sz4, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1335 res = add_attr(id5, v5, sz5, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_1000.c2330 TEEC_SharedMemory shm2 = { in xtest_tee_test_1032() local
2344 res = TEEC_RegisterSharedMemory(&ctx, &shm2); in xtest_tee_test_1032()
2346 TEEC_ReleaseSharedMemory(&shm2); in xtest_tee_test_1032()