Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_8100.c199 if (!ADBG_EXPECT_TRUE(c, X509_STORE_set1_param(store, pm))) in check()
206 if (!ADBG_EXPECT_TRUE(c, X509_STORE_CTX_init(csc, store, crt, in check()
242 if (!ADBG_EXPECT_TRUE(c, get_cert(c, cert, &crt))) in verify_cert()
244 if (!ADBG_EXPECT_TRUE(c, push_cert(c, mid, untrusted))) in verify_cert()
246 if (!ADBG_EXPECT_TRUE(c, push_cert(c, ca, trusted))) in verify_cert()
249 ret = ADBG_EXPECT_TRUE(c, check(c, trusted, untrusted, crt)); in verify_cert()
H A Dregression_2000.c284 if (!ADBG_EXPECT_TRUE(c, sock_server_init_tcp(&ts, &cb))) in xtest_tee_test_2001()
323 ADBG_EXPECT_TRUE(c, !server_iostate.rfail); in xtest_tee_test_2001()
532 ADBG_EXPECT_TRUE(c, arg[n].success); in xtest_tee_test_2002()
570 if (!ADBG_EXPECT_TRUE(c, sock_server_init_tcp(&ts, &cb))) in xtest_tee_test_2003()
693 if (!ADBG_EXPECT_TRUE(c, sock_server_init_udp(&ts, &cb))) in xtest_tee_test_2004()
696 if (!ADBG_EXPECT_TRUE(c, sock_server_init_udp(&ts2, &cb))) in xtest_tee_test_2004()
699 if (!ADBG_EXPECT_TRUE(c, sock_server_init_udp(&ts3, &cb))) in xtest_tee_test_2004()
733 ADBG_EXPECT_TRUE(c, !server_iostate.rfail); in xtest_tee_test_2004()
831 ADBG_EXPECT_TRUE(c, !server_iostate.rfail); in xtest_tee_test_2004()
877 ADBG_EXPECT_TRUE(c, !server_iostate.rfail); in xtest_tee_test_2004()
H A Dpkcs11_1000.c618 if (!ADBG_EXPECT_TRUE(c, !!(flags & CKF_SO_PIN_COUNT_LOW))) { in test_already_initialized_token()
637 if (!ADBG_EXPECT_TRUE(c, !(flags & CKF_SO_PIN_COUNT_LOW)) || in test_already_initialized_token()
638 !ADBG_EXPECT_TRUE(c, !!(flags & CKF_TOKEN_INITIALIZED)) || in test_already_initialized_token()
639 !ADBG_EXPECT_TRUE(c, !(flags & CKF_ERROR_STATE)) || in test_already_initialized_token()
640 !ADBG_EXPECT_TRUE(c, !(flags & CKF_USER_PIN_INITIALIZED))) { in test_already_initialized_token()
655 if (!ADBG_EXPECT_TRUE(c, !(flags & CKF_USER_PIN_COUNT_LOW)) || in test_already_initialized_token()
656 !ADBG_EXPECT_TRUE(c, !(flags & CKF_USER_PIN_FINAL_TRY)) || in test_already_initialized_token()
657 !ADBG_EXPECT_TRUE(c, !(flags & CKF_USER_PIN_LOCKED)) || in test_already_initialized_token()
658 !ADBG_EXPECT_TRUE(c, !(flags & CKF_USER_PIN_TO_BE_CHANGED)) || in test_already_initialized_token()
659 !ADBG_EXPECT_TRUE(c, !!(flags & CKF_USER_PIN_INITIALIZED)) || in test_already_initialized_token()
[all …]
H A Dregression_1000.c638 if (!ADBG_EXPECT_TRUE(c, !fseek(f, 0, SEEK_END))) in load_corrupt_ta()
688 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
690 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
692 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
694 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
696 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
698 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
700 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
702 ADBG_EXPECT_TRUE(c, in test_1008_corrupt_ta()
704 ADBG_EXPECT_TRUE(c, load_corrupt_ta(c, 3000, 1)); /* payload */ in test_1008_corrupt_ta()
[all …]
H A Dregression_4100.c1145 if (!ADBG_EXPECT_TRUE(c, do_addsub(c, &session, data[n].s, in test_4105()
1300 if (!ADBG_EXPECT_TRUE(c, do_mul(c, &session, data[n].s, in test_4107()
1450 if (!ADBG_EXPECT_TRUE(c, do_div(c, &session, data[n].s, in test_4108()
1670 if (!ADBG_EXPECT_TRUE(c, test_4109_mod(c, &session, in test_4109()
1976 if (!ADBG_EXPECT_TRUE(c, test_4110_mod(c, &session, in test_4110()
1984 if (!ADBG_EXPECT_TRUE(c, test_4110_fmm(c, &session, in test_4110()
2102 if (!ADBG_EXPECT_TRUE(c, test_4111_invmod(c, &session, in test_4111()
2212 if (!ADBG_EXPECT_TRUE(c, pres == res1 || pres == res2)) { in test_4112_is_prime()
2237 if (!ADBG_EXPECT_TRUE(c, test_4112_is_prime(c, &session, in test_4112()
2355 if (!ADBG_EXPECT_TRUE(c, test_4113_shift_right(c, &session, in test_4113()
[all …]
H A Dregression_4000.c3663 if (!ADBG_EXPECT_TRUE(c, in xtest_tee_test_4006()
3712 if (!ADBG_EXPECT_TRUE(c, in xtest_tee_test_4006()
3742 if (!ADBG_EXPECT_TRUE(c, in xtest_tee_test_4006()
3753 if (!ADBG_EXPECT_TRUE(c, in xtest_tee_test_4006()
3820 if (!ADBG_EXPECT_TRUE(c, in xtest_tee_test_4006()
3831 if (!ADBG_EXPECT_TRUE(c, in xtest_tee_test_4006()
3839 ADBG_EXPECT_TRUE(c, false); in xtest_tee_test_4006()
4225 ret_val = ADBG_EXPECT_TRUE(c, in generate_and_test_key()
4237 ret_val = ADBG_EXPECT_TRUE(c, in generate_and_test_key()
4242 ret_val = ADBG_EXPECT_TRUE(c, in generate_and_test_key()
[all …]
H A Dxtest_helpers.c402 ADBG_EXPECT_TRUE(c, st == TEEC_SUCCESS || in ta_crypt_cmd_is_algo_supported()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/adbg/include/
H A Dadbg.h128 #define ADBG_EXPECT_TRUE(Case_p, Got) \ macro
173 if (!ADBG_EXPECT_TRUE(Case_p, Got)) \
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/
H A Dxml_datastorage_api.h1823 do { ADBG_EXPECT_TRUE(c, true); } while (0)
1852 do { ADBG_EXPECT_TRUE(c, true); } while (0)
1885 ADBG_EXPECT_TRUE(c, check_values(a, b, saved_attr[0].buf, \
H A Dxml_crypto_api.h3332 return ADBG_EXPECT_TRUE(c, false); in verify_digest()