Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_public_api/
H A Drk_derive_key_api.c16 TEE_Param taParams[4]; in rk_derive_ta_unique_key() local
27 res = TEE_OpenTASession(&sta_uuid, 0, nParamTypes, taParams, &sta_session, &origin); in rk_derive_ta_unique_key()
36 taParams[0].memref.buffer = extra; in rk_derive_ta_unique_key()
37 taParams[0].memref.size = extra_size; in rk_derive_ta_unique_key()
38 taParams[1].memref.buffer = key; in rk_derive_ta_unique_key()
39 taParams[1].memref.size = key_size; in rk_derive_ta_unique_key()
42 nParamTypes, taParams, &origin); in rk_derive_ta_unique_key()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/
H A Drktest_crypto_hw.c57 TEE_Param taParams[4]; in rk_user_ta_cipher() local
69 res = TEE_OpenTASession(&sta_uuid, 0, nParamTypes, taParams, &sta_session, &origin); in rk_user_ta_cipher()
82 taParams[0].memref.buffer = config; in rk_user_ta_cipher()
83 taParams[0].memref.size = sizeof(*config); in rk_user_ta_cipher()
84 taParams[1].memref.buffer = src; in rk_user_ta_cipher()
85 taParams[1].memref.size = len; in rk_user_ta_cipher()
88 res = TEE_InvokeTACommand(sta_session, 0, 3, nParamTypes, taParams, &origin); in rk_user_ta_cipher()