Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssl/crypto/bn/
H A Drsaz_exp_x2.c128 int factor_size)
154 switch (factor_size) {
178 to_words52(base1_red, exp_digits, base1, factor_size);
179 to_words52(base2_red, exp_digits, base2, factor_size);
180 to_words52(m1_red, exp_digits, m1, factor_size);
181 to_words52(m2_red, exp_digits, m2, factor_size);
182 to_words52(rr1_red, exp_digits, rr1, factor_size);
183 to_words52(rr2_red, exp_digits, rr2, factor_size);
220 from_words52(res1, factor_size, rr1_red);
221 from_words52(res2, factor_size, rr2_red);
[all …]
H A Drsaz_exp.h55 int factor_size);
/freebsd-14.2/crypto/openssl/test/
H A Dexptest.c253 int factor_size = 0; in test_mod_exp_x2() local
259 factor_size = 1024; in test_mod_exp_x2()
276 BN_rand(a1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
277 BN_rand(b1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
278 BN_rand(m1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2()
279 BN_rand(a2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
280 BN_rand(b2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
281 BN_rand(m2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2()