Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_5000.c34 ADBG_EXPECT((c), exp_blen, \
52 ADBG_EXPECT((c), exp_blen, \
100 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Allocate_In()
124 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Allocate_out_of_memory()
147 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in OpenSession_error_notExistingTA()
171 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Allocate_InOut()
195 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_In()
221 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_notZeroLength_Out()
247 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_InOut()
272 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_zeroLength_Out()
[all …]
H A Dregression_1000.c100 if (!ADBG_EXPECT(cs->c, 0, in xtest_crypto_test()
137 if (!ADBG_EXPECT(cs->c, 0, memcmp(sha256_out, out, in xtest_crypto_test()
179 if (!ADBG_EXPECT(cs->c, 0, in xtest_crypto_test()
221 if (!ADBG_EXPECT(cs->c, 0, in xtest_crypto_test()
391 if (!ADBG_EXPECT(c, 0, pthread_create(thr + n, NULL, in xtest_tee_test_1003()
397 ADBG_EXPECT(c, 0, pthread_join(thr[n], NULL)); in xtest_tee_test_1003()
813 (void)ADBG_EXPECT(c, 0, in xtest_tee_test_1009_subcase()
831 (void)ADBG_EXPECT(c, 0, pthread_join(thr, NULL)); in xtest_tee_test_1009_subcase()
993 (void)ADBG_EXPECT(c, 0, op.params[0].value.a); in xtest_tee_test_1012()
1000 (void)ADBG_EXPECT(c, i, op.params[0].value.a); in xtest_tee_test_1012()
[all …]
H A Dregression_2000.c521 if (!ADBG_EXPECT(c, 0, pthread_create(thr + n, NULL, in xtest_tee_test_2002()
531 ADBG_EXPECT(c, 0, pthread_join(thr[n], NULL)); in xtest_tee_test_2002()
H A Dregression_6000.c1592 if (!ADBG_EXPECT(c, 0, pthread_create(thr + n, NULL, in xtest_tee_test_6016_loop()
1599 ADBG_EXPECT(c, 0, pthread_join(thr[i], NULL)); in xtest_tee_test_6016_loop()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/
H A Dxml_client_api.h207 ADBG_EXPECT(c, exp, \
253 ADBG_EXPECT(c, expTEEC_Result, \
318 ADBG_EXPECT((c), exp_blen, \
339 ADBG_EXPECT((c), exp_blen, \
359 ADBG_EXPECT((c), exp_a, \
362 ADBG_EXPECT((c), exp_b, \
371 ADBG_EXPECT(c, expected, \
375 ADBG_EXPECT(c, (unsigned long)returnOrigin, ret_orig); \
H A Dxml_datastorage_api.h1344 ADBG_EXPECT(c, IN_ObjectType, \
1346 ADBG_EXPECT(c, IN_KeySize, \
1348 ADBG_EXPECT(c, IN_MaxKeySize, \
1350 ADBG_EXPECT(c, IN_ObjectUsage, \
1352 ADBG_EXPECT(c, IN_DataSize, \
1354 ADBG_EXPECT(c, IN_DataPosition, \
1356 ADBG_EXPECT(c, IN_HandleFlags_Data, \
1369 ADBG_EXPECT(c, IN_HandleFlags_Handle, 0); \
1686 ADBG_EXPECT(c, IN_ObjectType, saved_obj_info[n].obj_type); \
1687 ADBG_EXPECT(c, IN_KeySize, saved_obj_info[n].obj_size); \
[all …]
H A Dxml_internal_api.h247 (void)ADBG_EXPECT(c, 0, \
250 (void)ADBG_EXPECT(c, 0, pthread_join(THREAD02, NULL));
674 if (!ADBG_EXPECT(c, TEE_ORIGIN_TRUSTED_APP, eo)) in Invoke_OpenTASession()
678 ADBG_EXPECT(c, exp_eo, op.params[2].value.b); in Invoke_OpenTASession()
697 if (!ADBG_EXPECT(c, TEE_ORIGIN_TRUSTED_APP, eo)) in Invoke_InvokeTACommand()
701 ADBG_EXPECT(c, exp_eo, op.params[1].value.b); in Invoke_InvokeTACommand()
718 ADBG_EXPECT(c, TEE_ORIGIN_TRUSTED_APP, eo); in Invoke_CloseTASession()
H A Dxml_crypto_api.h1187 ADBG_EXPECT(c, _algorithm, saved_op_mult_info->algorithm); \
1188 ADBG_EXPECT(c, _operationClass, \
1190 ADBG_EXPECT(c, _mode, saved_op_mult_info->mode); \
1191 ADBG_EXPECT(c, _digestLength, \
1193 ADBG_EXPECT(c, MAX(_maxKeySize_object1, _maxKeySize_object2), \
1195 ADBG_EXPECT(c, _handleState, saved_op_mult_info->handleState); \
1196 ADBG_EXPECT(c, _operationState, \
1198 ADBG_EXPECT(c, _numberOfKeys, \
1205 ADBG_EXPECT(c, _keySize, saved_op_mult_info->keyInformation[_keyIndex].keySize); \
1206ADBG_EXPECT(c, _requiredKeyUsage, saved_op_mult_info->keyInformation[_keyIndex].requiredKeyUsage);…
[all …]
H A Dxml_common_api.h69 ADBG_EXPECT(c, (unsigned long)returnOrigin, ret_orig); \
84 ADBG_EXPECT(c, exp, got); \
H A Dxml_timearithm_api.h615 (void)ADBG_EXPECT(c, 0, \
618 (void)ADBG_EXPECT(c, 0, pthread_join(THREAD02, NULL));
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/adbg/include/
H A Dadbg.h111 #define ADBG_EXPECT(Case_p, Expected, Got) \ macro
132 ADBG_EXPECT(Case_p, 0, memcmp(Buf1_p, Buf2_p, Length))
161 if (!ADBG_EXPECT(Case_p, Expected, Got)) \