Home
last modified time | relevance | path

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

/optee_test-3.20.0/ta/hash_perf/
A Dta_hash_perf.c22 static TEE_OperationHandle digest_op; variable
64 TEE_GetOperationInfo(digest_op, &info); in cmd_process()
68 TEE_MACInit(digest_op, NULL, 0); in cmd_process()
69 res = TEE_MACComputeFinal(digest_op, in, insz, out, &outsz); in cmd_process()
74 res = TEE_DigestDoFinal(digest_op, in, insz, out, &outsz); in cmd_process()
170 if (digest_op) in cmd_prepare_op()
171 TEE_FreeOperation(digest_op); in cmd_prepare_op()
187 res = TEE_SetOperationKey(digest_op, hkey); in cmd_prepare_op()
192 res = TEE_AllocateOperation(&digest_op, algo, TEE_MODE_DIGEST, 0); in cmd_prepare_op()
200 if (digest_op) in cmd_clean_res()
[all …]

Completed in 2 milliseconds