Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dexptest.c157 BIGNUM *r_mont_const = NULL; in test_mod_exp() local
168 || !TEST_ptr(r_mont_const = BN_new()) in test_mod_exp()
193 || !TEST_true(BN_mod_exp_mont_consttime(r_mont_const, a, b, m, ctx, NULL))) in test_mod_exp()
198 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp()
201 if (BN_cmp(r_simple, r_mont_const) != 0) in test_mod_exp()
212 BN_print_var(r_mont_const); in test_mod_exp()
219 BN_free(r_mont_const); in test_mod_exp()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dexptest.c157 BIGNUM *r_mont_const = NULL; in test_mod_exp() local
168 || !TEST_ptr(r_mont_const = BN_new()) in test_mod_exp()
202 || !TEST_true(BN_mod_exp_mont_consttime(r_mont_const, a, b, m, ctx, NULL))) in test_mod_exp()
207 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp()
210 if (BN_cmp(r_simple, r_mont_const) != 0) in test_mod_exp()
221 BN_print_var(r_mont_const); in test_mod_exp()
228 BN_free(r_mont_const); in test_mod_exp()