Home
last modified time | relevance | path

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

/openssl/test/
H A Dexptest.c159 BIGNUM *r_simple = NULL; in test_mod_exp() local
170 || !TEST_ptr(r_simple = BN_new()) in test_mod_exp()
201 || !TEST_true(BN_mod_exp_simple(r_simple, a, b, m, ctx)) in test_mod_exp()
205 if (!TEST_BN_eq(r_simple, r_mont) in test_mod_exp()
206 || !TEST_BN_eq(r_simple, r_recp) in test_mod_exp()
207 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp()
208 if (BN_cmp(r_simple, r_mont) != 0) in test_mod_exp()
210 if (BN_cmp(r_simple, r_mont_const) != 0) in test_mod_exp()
212 if (BN_cmp(r_simple, r_recp) != 0) in test_mod_exp()
218 BN_print_var(r_simple); in test_mod_exp()
[all …]

Completed in 5 milliseconds