Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl.old/dist/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()
192 || !TEST_true(BN_mod_exp_simple(r_simple, a, b, m, ctx)) in test_mod_exp()
196 if (!TEST_BN_eq(r_simple, r_mont) in test_mod_exp()
197 || !TEST_BN_eq(r_simple, r_recp) in test_mod_exp()
198 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp()
199 if (BN_cmp(r_simple, r_mont) != 0) in test_mod_exp()
201 if (BN_cmp(r_simple, r_mont_const) != 0) in test_mod_exp()
203 if (BN_cmp(r_simple, r_recp) != 0) in test_mod_exp()
209 BN_print_var(r_simple); in test_mod_exp()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/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 …]