/optee_test/host/xtest/ |
A D | regression_6000.c | 484 (void)ADBG_EXPECT_BUFFER(c, &data_00[5], 5, out, count); in test_truncate_file_length() 507 (void)ADBG_EXPECT_BUFFER(c, &data_00[5], 5, out, count); in test_truncate_file_length() 556 (void)ADBG_EXPECT_BUFFER(c, &expect[0], 10, out, count); in test_extend_file_length() 581 (void)ADBG_EXPECT_BUFFER(c, &expect[0], 10, out, count); in test_extend_file_length() 779 (void)ADBG_EXPECT_BUFFER(c, data_01, 10, out, count); in xtest_tee_test_6003_single() 838 (void)ADBG_EXPECT_BUFFER(c, data_00, 10, out, count); in xtest_tee_test_6004_single() 1000 (void)ADBG_EXPECT_BUFFER(c, data_00, 10, out, count); in xtest_tee_test_6008_single() 1228 ADBG_EXPECT_BUFFER(c, data, sizeof(data), out, n); in xtest_tee_test_6010_single() 1249 ADBG_EXPECT_BUFFER(c, in xtest_tee_test_6010_single() 1818 (void)ADBG_EXPECT_BUFFER(c, data_00, 10, out, count); in xtest_tee_test_6019_single() [all …]
|
A D | regression_8000.c | 432 if (!ADBG_EXPECT_BUFFER(c, hc->okm, hc->okm_len, out, out_size)) in xtest_test_derivation_hkdf() 550 if (!ADBG_EXPECT_BUFFER(c, cc->derived_key, cc->derived_key_len, in xtest_test_derivation_concat_kdf() 683 if (!ADBG_EXPECT_BUFFER(c, pc->dkm, pc->dkm_len, out, out_size)) in xtest_test_derivation_pbkdf2()
|
A D | regression_4000.c | 1053 (void)ADBG_EXPECT_BUFFER(c, hash_cases[n].out, in xtest_tee_test_4001() 1069 (void)ADBG_EXPECT_BUFFER(c, hash_cases[n].out, in xtest_tee_test_4001() 1085 (void)ADBG_EXPECT_BUFFER(c, hash_cases[n].out, in xtest_tee_test_4001() 1328 (void)ADBG_EXPECT_BUFFER(c, mac_cases[n].out, in xtest_tee_test_4002() 1343 (void)ADBG_EXPECT_BUFFER(c, mac_cases[n].out, in xtest_tee_test_4002() 2593 (void)ADBG_EXPECT_BUFFER(c, in xtest_tee_test_4005() 2599 (void)ADBG_EXPECT_BUFFER(c, ae_cases[n].ctx, in xtest_tee_test_4005() 2614 (void)ADBG_EXPECT_BUFFER(c, ae_cases[n].ptx, in xtest_tee_test_4005() 2635 ADBG_EXPECT_BUFFER(c, ae_cases[n].tag, in xtest_tee_test_4005() 2641 (void)ADBG_EXPECT_BUFFER(c, ae_cases[n].ctx, in xtest_tee_test_4005() [all …]
|
A D | regression_5000.c | 39 ADBG_EXPECT_BUFFER((c), (exp_buf), (exp_blen), \ 57 ADBG_EXPECT_BUFFER((c), (exp_buf), (exp_blen), \
|
A D | regression_2000.c | 316 ADBG_EXPECT_BUFFER(c, buf2, blen, buf, blen); in xtest_tee_test_2001() 721 if (!ADBG_EXPECT_BUFFER(c, buf2, recv_sz, buf, recv_sz)) in test_2004_send_recv()
|
A D | pkcs11_1000.c | 1844 (void)ADBG_EXPECT_BUFFER(c, test->out, in xtest_pkcs11_test_1008() 1874 (void)ADBG_EXPECT_BUFFER(c, test->out, in xtest_pkcs11_test_1008() 1918 (void)ADBG_EXPECT_BUFFER(c, test->out, in xtest_pkcs11_test_1008() 3490 !ADBG_EXPECT_BUFFER(c, label, strlen(label), g_label, in xtest_pkcs11_test_1014() 3515 !ADBG_EXPECT_BUFFER(c, id, strlen(id), g_id, in xtest_pkcs11_test_1014() 4698 if (!ADBG_EXPECT_BUFFER(c, expect_digest, expect_digest_size, in xtest_pkcs11_test_1018() 4736 if (!ADBG_EXPECT_BUFFER(c, expect_digest, expect_digest_size, in xtest_pkcs11_test_1018() 4827 if (!ADBG_EXPECT_BUFFER(c, hash, md_len, digest, digest_size)) in xtest_pkcs11_test_1018() 4952 if (!ADBG_EXPECT_BUFFER(c, expect_digest, expect_digest_size, in xtest_pkcs11_test_1018() 4989 if (!ADBG_EXPECT_BUFFER(c, expect_digest, expect_digest_size, in xtest_pkcs11_test_1018() [all …]
|
A D | regression_1000.c | 977 if (!ADBG_EXPECT_BUFFER(c, in, sizeof(in), out, in xtest_tee_test_1012() 1183 ADBG_EXPECT_BUFFER(c, sha256_out, sizeof(sha256_out), in xtest_tee_test_1013_single()
|
A D | regression_4100.c | 741 if (!ADBG_EXPECT_BUFFER(c, data[n].os + len_diff, in test_4102()
|
/optee_test/host/xtest/adbg/include/ |
A D | adbg.h | 134 #define ADBG_EXPECT_BUFFER(Case_p, ExpBuf_p, ExpBufLen, GotBuf_p, GotBufLen) \ macro 182 if (!ADBG_EXPECT_BUFFER(Case_p, ExpBuf_p, ExpBufLen, GotBuf_p, \
|
/optee_test/host/xtest/gp/include/ |
A D | xml_client_api.h | 324 ADBG_EXPECT_BUFFER((c), &(exp_buf), (exp_blen), \ 345 ADBG_EXPECT_BUFFER((c), &(exp_buf), (exp_blen), \
|
A D | xml_internal_api.h | 304 if (!ADBG_EXPECT_BUFFER(c, expectedValue, expectedValueLen, in Invoke_GetPropertyAsXXX_withoutEnum() 405 if (!ADBG_EXPECT_BUFFER(c, expectedData, expectedDataSize, in Invoke_GetInstanceData()
|
A D | xml_datastorage_api.h | 1250 ADBG_EXPECT_BUFFER(c, data, data_size, saved_obj_data, \ 1254 ADBG_EXPECT_BUFFER(c, data, data_size, saved_obj_data, \ 1856 ADBG_EXPECT_BUFFER(c, attr_buf, attr_buf_len, \
|
A D | xml_crypto_api.h | 1583 if (!ADBG_EXPECT_BUFFER(c, part_data, partd_length, in Invoke_Crypto_AEUpdate_for_decryption() 1815 ADBG_EXPECT_BUFFER(c, full_data, fdata_length, collapsed.buffer, in Invoke_Crypto_AEDecryptFinal() 1959 ADBG_EXPECT_BUFFER(c, tmp_dgst.buffer, tmp_dgst.size, in Invoke_Crypto_DigestDoFinal() 2242 ADBG_EXPECT_BUFFER(c, expected_res, expected_size, in Invoke_Crypto_AsymmetricDecrypt() 2629 ADBG_EXPECT_BUFFER(c, full_ciphered_data.buffer, in Invoke_Crypto_CipherDoFinal()
|