Lines Matching refs:TEST_true
64 if (!TEST_true(BN_rand(a, 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))) in test_mod_exp_zero()
67 if (!TEST_true(BN_mod_exp(r, a, p, m, ctx))) in test_mod_exp_zero()
70 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp", r, a))) in test_mod_exp_zero()
73 if (!TEST_true(BN_mod_exp_recp(r, a, p, m, ctx))) in test_mod_exp_zero()
76 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_recp", r, a))) in test_mod_exp_zero()
79 if (!TEST_true(BN_mod_exp_simple(r, a, p, m, ctx))) in test_mod_exp_zero()
82 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_simple", r, a))) in test_mod_exp_zero()
85 if (!TEST_true(BN_mod_exp_mont(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
88 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont", r, a))) in test_mod_exp_zero()
91 if (!TEST_true(BN_mod_exp_mont_consttime(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
94 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont_consttime", r, a))) in test_mod_exp_zero()
101 if (!TEST_true(BN_mod_exp_mont_word(r, one_word, p, m, ctx, NULL))) in test_mod_exp_zero()
159 if (!TEST_true(BN_mod(a, a, m, ctx)) in test_mod_exp()
160 || !TEST_true(BN_mod(b, b, m, ctx)) in test_mod_exp()
161 || !TEST_true(BN_mod_exp_mont(r_mont, a, b, m, ctx, NULL)) in test_mod_exp()
162 || !TEST_true(BN_mod_exp_recp(r_recp, a, b, m, ctx)) in test_mod_exp()
163 || !TEST_true(BN_mod_exp_simple(r_simple, a, b, m, ctx)) in test_mod_exp()
164 || !TEST_true(BN_mod_exp_mont_consttime(r_mont_const, a, b, m, ctx, NULL))) in test_mod_exp()