Lines Matching refs:r_simple
130 BIGNUM *r_simple = NULL; in test_mod_exp() local
141 || !TEST_ptr(r_simple = BN_new()) in test_mod_exp()
172 || !TEST_true(BN_mod_exp_simple(r_simple, a, b, m, ctx)) in test_mod_exp()
176 if (!TEST_BN_eq(r_simple, r_mont) in test_mod_exp()
177 || !TEST_BN_eq(r_simple, r_recp) in test_mod_exp()
178 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp()
179 if (BN_cmp(r_simple, r_mont) != 0) in test_mod_exp()
181 if (BN_cmp(r_simple, r_mont_const) != 0) in test_mod_exp()
183 if (BN_cmp(r_simple, r_recp) != 0) in test_mod_exp()
189 BN_print_var(r_simple); in test_mod_exp()
201 BN_free(r_simple); in test_mod_exp()