Home
last modified time | relevance | path

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

/optee_test/host/xtest/
A Dbenchmark_2000.c17 static void xtest_tee_benchmark_2001(ADBG_Case_t *Case_p);
18 static void xtest_tee_benchmark_2002(ADBG_Case_t *Case_p);
21 static void xtest_tee_benchmark_2011(ADBG_Case_t *Case_p);
22 static void xtest_tee_benchmark_2012(ADBG_Case_t *Case_p);
28 static void xtest_tee_benchmark_2001(ADBG_Case_t *c) in xtest_tee_benchmark_2001()
42 static void xtest_tee_benchmark_2002(ADBG_Case_t *c) in xtest_tee_benchmark_2002()
66 static void xtest_tee_benchmark_2011(ADBG_Case_t *c) in xtest_tee_benchmark_2011()
80 static void xtest_tee_benchmark_2012(ADBG_Case_t *c) in xtest_tee_benchmark_2012()
A Dxtest_helpers.h44 TEEC_Result ta_crypt_cmd_allocate_operation(ADBG_Case_t *c,
51 TEEC_Result ta_crypt_cmd_allocate_transient_object(ADBG_Case_t *c,
56 TEEC_Result ta_crypt_cmd_populate_transient_object(ADBG_Case_t *c,
62 TEE_Result ta_crypt_cmd_set_operation_key(ADBG_Case_t *c,
67 TEEC_Result ta_crypt_cmd_free_transient_object(ADBG_Case_t *c,
71 TEEC_Result ta_crypt_cmd_derive_key(ADBG_Case_t *c,
78 TEEC_Result ta_crypt_cmd_get_object_buffer_attribute(ADBG_Case_t *c,
85 TEEC_Result ta_crypt_cmd_free_operation(ADBG_Case_t *c,
89 bool ta_crypt_cmd_is_algo_supported(ADBG_Case_t *c, TEEC_Session *s,
A Dbenchmark_1000.c33 static void xtest_tee_benchmark_1001(ADBG_Case_t *Case_p);
34 static void xtest_tee_benchmark_1002(ADBG_Case_t *Case_p);
35 static void xtest_tee_benchmark_1003(ADBG_Case_t *Case_p);
110 static void chunk_test(ADBG_Case_t *c, enum storage_benchmark_cmd cmd) in chunk_test()
125 static void xtest_tee_benchmark_1001(ADBG_Case_t *c) in xtest_tee_benchmark_1001()
130 static void xtest_tee_benchmark_1002(ADBG_Case_t *c) in xtest_tee_benchmark_1002()
135 static void xtest_tee_benchmark_1003(ADBG_Case_t *c) in xtest_tee_benchmark_1003()
A Dregression_4100.c607 static void test_4101(ADBG_Case_t *c) in test_4101()
684 static void test_4102(ADBG_Case_t *c) in test_4102()
766 static void test_4103(ADBG_Case_t *c) in test_4103()
890 static void test_4104(ADBG_Case_t *c) in test_4104()
1078 static void test_4105(ADBG_Case_t *c) in test_4105()
1157 static void test_4106(ADBG_Case_t *c) in test_4106()
1257 static void test_4107(ADBG_Case_t *c) in test_4107()
1397 static void test_4108(ADBG_Case_t *c) in test_4108()
1658 static void test_4109(ADBG_Case_t *c) in test_4109()
1964 static void test_4110(ADBG_Case_t *c) in test_4110()
[all …]
A Dregression_8100.c29 static void test_8101(ADBG_Case_t *c __maybe_unused) in test_8101()
79 static void test_8102(ADBG_Case_t *c) in test_8102()
141 static bool get_cert(ADBG_Case_t *c, const char *crt_str, X509 **crt) in get_cert()
166 static bool push_cert(ADBG_Case_t *c, const char *crt_str, STACK_OF(X509) *cs) in push_cert()
183 static bool check(ADBG_Case_t *c, STACK_OF(X509) *trusted, in check()
229 static bool verify_cert(ADBG_Case_t *c, const char *ca, const char *mid, in verify_cert()
261 static bool verify_cert(ADBG_Case_t *c, const char *ca, in verify_cert()
273 static void test_8103(ADBG_Case_t *c) in test_8103()
A Dregression_1000.c45 ADBG_Case_t *c;
233 static void xtest_tee_test_1001(ADBG_Case_t *c) in xtest_tee_test_1001()
254 static void xtest_tee_test_1002(ADBG_Case_t *c) in xtest_tee_test_1002()
354 static void xtest_tee_test_1003(ADBG_Case_t *c) in xtest_tee_test_1003()
430 static void xtest_tee_test_1004(ADBG_Case_t *c) in xtest_tee_test_1004()
522 static void xtest_tee_test_1005(ADBG_Case_t *c) in xtest_tee_test_1005()
542 static void xtest_tee_test_1006(ADBG_Case_t *c) in xtest_tee_test_1006()
568 static void xtest_tee_test_1007(ADBG_Case_t *c) in xtest_tee_test_1007()
709 static void xtest_tee_test_1008(ADBG_Case_t *c) in xtest_tee_test_1008()
840 static void xtest_tee_test_1009(ADBG_Case_t *c) in xtest_tee_test_1009()
[all …]
A Dxtest_helpers.c42 TEEC_Result ta_crypt_cmd_allocate_operation(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_allocate_operation()
73 TEEC_Result ta_crypt_cmd_allocate_transient_object(ADBG_Case_t *c, in ta_crypt_cmd_allocate_transient_object()
192 TEEC_Result ta_crypt_cmd_populate_transient_object(ADBG_Case_t *c, in ta_crypt_cmd_populate_transient_object()
230 TEE_Result ta_crypt_cmd_set_operation_key(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_set_operation_key()
258 TEEC_Result ta_crypt_cmd_free_transient_object(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_free_transient_object()
281 TEEC_Result ta_crypt_cmd_derive_key(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_derive_key()
321 TEEC_Result ta_crypt_cmd_get_object_buffer_attribute(ADBG_Case_t *c, in ta_crypt_cmd_get_object_buffer_attribute()
356 TEEC_Result ta_crypt_cmd_free_operation(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_free_operation()
379 bool ta_crypt_cmd_is_algo_supported(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_is_algo_supported()
A Dregression_6000.c22 static void test_name(ADBG_Case_t *c) \
449 static void test_truncate_file_length(ADBG_Case_t *c, uint32_t storage_id) in test_truncate_file_length()
518 static void test_extend_file_length(ADBG_Case_t *c, uint32_t storage_id) in test_extend_file_length()
592 static void test_file_hole(ADBG_Case_t *c, uint32_t storage_id) in test_file_hole()
676 static void xtest_tee_test_6001_single(ADBG_Case_t *c, uint32_t storage_id) in xtest_tee_test_6001_single()
705 static void xtest_tee_test_6002_single(ADBG_Case_t *c, uint32_t storage_id) in xtest_tee_test_6002_single()
749 static void xtest_tee_test_6003_single(ADBG_Case_t *c, uint32_t storage_id) in xtest_tee_test_6003_single()
793 static void xtest_tee_test_6004_single(ADBG_Case_t *c, uint32_t storage_id) in xtest_tee_test_6004_single()
852 static void xtest_tee_test_6005_single(ADBG_Case_t *c, uint32_t storage_id) in xtest_tee_test_6005_single()
1512 ADBG_Case_t *case_t;
[all …]
A Dregression_4000.c994 static void xtest_tee_test_4001(ADBG_Case_t *c) in xtest_tee_test_4001()
1222 static void xtest_tee_test_4002(ADBG_Case_t *c) in xtest_tee_test_4002()
2145 static void xtest_tee_test_4003(ADBG_Case_t *c) in xtest_tee_test_4003()
2335 static void xtest_tee_test_4004(ADBG_Case_t *c) in xtest_tee_test_4004()
2459 static void xtest_tee_test_4005(ADBG_Case_t *c) in xtest_tee_test_4005()
3603 static void xtest_tee_test_4006(ADBG_Case_t *c) in xtest_tee_test_4006()
4694 static void xtest_tee_test_4008(ADBG_Case_t *c) in xtest_tee_test_4008()
4793 static void xtest_tee_test_4009(ADBG_Case_t *c) in xtest_tee_test_4009()
4925 static void xtest_tee_test_4010(ADBG_Case_t *c) in xtest_tee_test_4010()
4957 static void xtest_tee_test_4011(ADBG_Case_t *c) in xtest_tee_test_4011()
[all …]
A Dregression_8000.c313 static void xtest_test_derivation_hkdf(ADBG_Case_t *c, TEEC_Session *session) in xtest_test_derivation_hkdf()
450 static void xtest_test_derivation_concat_kdf(ADBG_Case_t *c, TEEC_Session *session) in xtest_test_derivation_concat_kdf()
569 static void xtest_test_derivation_pbkdf2(ADBG_Case_t *c, TEEC_Session *session) in xtest_test_derivation_pbkdf2()
710 static void xtest_tee_test_8001(ADBG_Case_t *c) in xtest_tee_test_8001()
736 static void xtest_tee_test_8002(ADBG_Case_t *c) in xtest_tee_test_8002()
A Dpkcs11_1000.c170 static void xtest_pkcs11_test_1000(ADBG_Case_t *c) in xtest_pkcs11_test_1000()
199 static void xtest_pkcs11_test_1001(ADBG_Case_t *c) in xtest_pkcs11_test_1001()
435 static void xtest_pkcs11_test_1002(ADBG_Case_t *c) in xtest_pkcs11_test_1002()
918 static void xtest_pkcs11_test_1003(ADBG_Case_t *c) in xtest_pkcs11_test_1003()
1149 static void xtest_pkcs11_test_1004(ADBG_Case_t *c) in xtest_pkcs11_test_1004()
1342 static void xtest_pkcs11_test_1005(ADBG_Case_t *c) in xtest_pkcs11_test_1005()
1407 static void xtest_pkcs11_test_1006(ADBG_Case_t *c) in xtest_pkcs11_test_1006()
1470 static CK_RV open_cipher_session(ADBG_Case_t *c, in open_cipher_session()
1513 static void xtest_pkcs11_test_1007(ADBG_Case_t *c) in xtest_pkcs11_test_1007()
1766 static void xtest_pkcs11_test_1008(ADBG_Case_t *c) in xtest_pkcs11_test_1008()
[all …]
A Dregression_2000.c261 static void xtest_tee_test_2001(ADBG_Case_t *c) in xtest_tee_test_2001()
504 static void xtest_tee_test_2002(ADBG_Case_t *c) in xtest_tee_test_2002()
556 static void xtest_tee_test_2003(ADBG_Case_t *c) in xtest_tee_test_2003()
666 static bool test_2004_send_recv(ADBG_Case_t *c, in test_2004_send_recv()
735 static void xtest_tee_test_2004(ADBG_Case_t *c) in xtest_tee_test_2004()
A Dregression_5000.c25 ADBG_Case_t *c;
475 static void xtest_teec_TEE(ADBG_Case_t *c) in xtest_teec_TEE()
/optee_test/host/xtest/adbg/src/
A Dadbg_case.c35 static const char *ADBG_Case_GetTestID(ADBG_Case_t *Case_p);
42 ADBG_Case_t *Case_p = NULL; in ADBG_Case_New()
51 void ADBG_Case_Delete(ADBG_Case_t *Case_p) in ADBG_Case_Delete()
58 const ADBG_Case_t *const Case_p, in ADBG_Case_SubCaseIsMain()
68 ADBG_Case_t *Case_p, in ADBG_Case_IterateSubCase()
80 ADBG_Case_t *Case_p = Iterator_p->Case_p; in ADBG_Case_NextSubCase()
138 ADBG_Case_t *const Case_p, in Do_ADBG_BeginSubCase()
179 ADBG_Case_t *const Case_p, in Do_ADBG_EndSubCase()
268 ADBG_Case_t *Case_p, in ADBG_Case_CreateSubCase()
344 ADBG_Case_t *Case_p, in ADBG_Case_GetParentSubCase()
[all …]
A Dadbg_expect.c23 static bool ADBG_AssertHelper(ADBG_Case_t *const Case_p,
33 ADBG_Case_t *const Case_p, in Do_ADBG_Expect()
64 ADBG_Case_t *const Case_p, in Do_ADBG_ExpectNot()
96 ADBG_Case_t *const Case_p, in Do_ADBG_ExpectBuffer()
135 ADBG_Case_t *const Case_p, in Do_ADBG_ExpectPointer()
157 ADBG_Case_t *const Case_p, in Do_ADBG_ExpectPointerNotNULL()
175 ADBG_Case_t *const Case_p, in Do_ADBG_ExpectCompareSigned()
197 ADBG_Case_t *const Case_p, in Do_ADBG_ExpectCompareUnsigned()
220 ADBG_Case_t *const Case_p, in Do_ADBG_ExpectComparePointer()
245 ADBG_Case_t *const Case_p, in ADBG_AssertHelper()
A Dadbg_int.h55 ADBG_Case_t *Case_p;
59 bool ADBG_Case_SubCaseIsMain(const ADBG_Case_t *const Case_p,
62 void ADBG_Case_IterateSubCase(ADBG_Case_t *Case_p,
67 ADBG_Case_t *ADBG_Case_New(const struct adbg_case_def *case_def);
69 void ADBG_Case_Delete(ADBG_Case_t *Case_p);
A Dadbg_run.c112 ADBG_Case_t *Case_p = NULL; in ADBG_RunSuite()
/optee_test/host/xtest/gp/include/
A Dxml_timearithm_api.h637 static TEEC_Result Invoke_BigIntComputeExtendedGcd(ADBG_Case_t *c, in Invoke_BigIntComputeExtendedGcd()
676 static TEEC_Result Invoke_StoreS32(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_StoreS32()
695 static TEEC_Result Invoke_BigIntConvertFromS32(ADBG_Case_t *c, in Invoke_BigIntConvertFromS32()
703 static TEEC_Result Invoke_BigIntConvertToS32(ADBG_Case_t *c, in Invoke_BigIntConvertToS32()
756 static TEEC_Result Invoke_Wait(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_Wait()
762 static TEEC_Result Invoke_BigIntInitFMMContext(ADBG_Case_t *c, in Invoke_BigIntInitFMMContext()
787 static TEEC_Result Invoke_BigIntConvertFromFMM(ADBG_Case_t *c, in Invoke_BigIntConvertFromFMM()
827 static TEEC_Result Invoke_BigIntIsProbablePrime(ADBG_Case_t *c, in Invoke_BigIntIsProbablePrime()
843 static TEEC_Result Invoke_BigIntRelativePrime(ADBG_Case_t *c, in Invoke_BigIntRelativePrime()
927 static TEEC_Result Invoke_BigIntConvertToOctetString(ADBG_Case_t *c, in Invoke_BigIntConvertToOctetString()
[all …]
A Dxml_datastorage_api.h1211 ADBG_Case_t *c, TEEC_Session *sess, uint32_t cmdId, in Invoke_ReadObjectData()
1257 static TEEC_Result Invoke_RenamePersistentObject(ADBG_Case_t *c, in Invoke_RenamePersistentObject()
1301 static TEEC_Result Invoke_GetObjectInfo1(ADBG_Case_t *c, in Invoke_GetObjectInfo1()
1378 static TEEC_Result Invoke_RestrictObjectUsage1(ADBG_Case_t *c, in Invoke_RestrictObjectUsage1()
1386 static TEEC_Result Invoke_RestrictObjectUsage(ADBG_Case_t *c, in Invoke_RestrictObjectUsage()
1394 static TEEC_Result Invoke_ResetTransientObject(ADBG_Case_t *c, in Invoke_ResetTransientObject()
1475 static TEEC_Result Invoke_OpenPersistentObject(ADBG_Case_t *c, in Invoke_OpenPersistentObject()
1549 static TEEC_Result Invoke_CopyObjectAttributes1(ADBG_Case_t *c, in Invoke_CopyObjectAttributes1()
1558 static TEEC_Result Invoke_CopyObjectAttributes(ADBG_Case_t *c, in Invoke_CopyObjectAttributes()
1715 static TEEC_Result Invoke_GenerateKey(ADBG_Case_t *c, in Invoke_GenerateKey()
[all …]
A Dxml_internal_api.h252 static TEEC_Result Invoke_MemFill(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_MemFill()
261 ADBG_Case_t *c, TEEC_Session *sess, uint32_t cmdId, in Invoke_GetPropertyAsXXX_withoutEnum()
319 ADBG_Case_t *c, TEEC_Session *sess, uint32_t cmdId, in Invoke_MemCompare()
357 static TEEC_Result Invoke_SetInstanceData(ADBG_Case_t *c, in Invoke_SetInstanceData()
418 ADBG_Case_t *c, TEEC_Session *sess, uint32_t cmdId, in Invoke_ProcessInvokeTAOpenSession()
457 static TEEC_Result Invoke_CheckMemoryAccessRight(ADBG_Case_t *c, in Invoke_CheckMemoryAccessRight()
510 static TEEC_Result Invoke_AllocatePropertyEnumerator(ADBG_Case_t *c, in Invoke_AllocatePropertyEnumerator()
532 static TEEC_Result Invoke_StartPropertyEnumerator(ADBG_Case_t *c, in Invoke_StartPropertyEnumerator()
542 static TEEC_Result Invoke_ResetPropertyEnumerator(ADBG_Case_t *c, in Invoke_ResetPropertyEnumerator()
605 static TEEC_Result Invoke_Panic(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_Panic()
[all …]
A Dxml_common_api.h114 Invoke_Simple_Function(ADBG_Case_t *c __unused, TEEC_Session *sess, in Invoke_Simple_Function()
124 Invoke_Simple_Function_v1(ADBG_Case_t *c __unused, TEEC_Session *sess, in Invoke_Simple_Function_v1()
140 Invoke_Simple_Function_v2(ADBG_Case_t *c __unused, TEEC_Session *sess, in Invoke_Simple_Function_v2()
159 Invoke_Simple_Function_v3(ADBG_Case_t *c __unused, TEEC_Session *sess, in Invoke_Simple_Function_v3()
180 Invoke_Simple_Function_v4(ADBG_Case_t *c __unused, TEEC_Session *sess, in Invoke_Simple_Function_v4()
213 static TEEC_Result GetObjectBufferAttribute_helper(ADBG_Case_t *c, in GetObjectBufferAttribute_helper()
267 Invoke_GetObjectBufferAttribute(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_GetObjectBufferAttribute()
276 Invoke_FreeTransientObject(ADBG_Case_t *c, TEEC_Session *sess, uint32_t cmd, in Invoke_FreeTransientObject()
A Dxml_crypto_api.h1019 static TEEC_Result sign_digest(ADBG_Case_t *c,
2265 ADBG_Case_t *c, TEEC_Session *s, in Invoke_Crypto_MACInit()
2302 ADBG_Case_t *c, TEEC_Session *s, in Invoke_Crypto_MACUpdate()
2331 ADBG_Case_t *c, TEEC_Session *s, in Invoke_Crypto_MACCompareFinal()
2385 ADBG_Case_t *c, TEEC_Session *s, in Invoke_Crypto_MACComputeFinal()
2453 ADBG_Case_t *c, TEEC_Session *s, in Invoke_Crypto_CipherInit()
2496 ADBG_Case_t *c, TEEC_Session *s, in Invoke_Crypto_CipherUpdate()
2561 ADBG_Case_t *c, TEEC_Session *s, in Invoke_Crypto_CipherDoFinal()
3273 static TEEC_Result sign_digest(ADBG_Case_t *c, in sign_digest()
3339 ADBG_Case_t *c, TEEC_Session *s, in mac_compute_final()
[all …]
/optee_test/host/xtest/adbg/include/
A Dadbg.h32 typedef struct ADBG_Case ADBG_Case_t; typedef
37 void (*Run_fp)(ADBG_Case_t *ADBG_Case_pp);
206 bool Do_ADBG_Expect(ADBG_Case_t *const Case_p, const char *const FileName_p,
216 bool Do_ADBG_ExpectBuffer(ADBG_Case_t *const Case_p,
225 bool Do_ADBG_ExpectPointer(ADBG_Case_t *const Case_p,
230 bool Do_ADBG_ExpectPointerNotNULL(ADBG_Case_t *const Case_p,
235 bool Do_ADBG_ExpectCompareSigned(ADBG_Case_t *const Case_p,
243 bool Do_ADBG_ExpectCompareUnsigned(ADBG_Case_t *const Case_p,
253 bool Do_ADBG_ExpectComparePointer(ADBG_Case_t *const Case_p,
297 void Do_ADBG_BeginSubCase(ADBG_Case_t *const Case_p,
[all …]

Completed in 78 milliseconds