Home
last modified time | relevance | path

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

/src/crypto/openssl/crypto/bn/
H A Drsaz_exp_x2.c213 int factor_size)
221 int exp_digits = number_of_digits(factor_size + 2, DIGIT_SIZE);
222 int coeff_pow = 4 * (DIGIT_SIZE * exp_digits - factor_size);
243 if (factor_size != 1024 && factor_size != 1536 && factor_size != 2048)
246 amm = ossl_rsaz_amm52_x1[(factor_size / 512 - 2) * 2 + avx512ifma];
263 to_words52(base1_red, regs_capacity, base1, factor_size);
264 to_words52(base2_red, regs_capacity, base2, factor_size);
265 to_words52(m1_red, regs_capacity, m1, factor_size);
266 to_words52(m2_red, regs_capacity, m2, factor_size);
267 to_words52(rr1_red, regs_capacity, rr1, factor_size);
[all …]
H A Drsaz_exp.h54 int factor_size);
/src/crypto/openssl/test/
H A Dexptest.c253 int factor_size = 0; in test_mod_exp_x2() local
256 factor_size = 1024; in test_mod_exp_x2()
258 factor_size = 1536; in test_mod_exp_x2()
260 factor_size = 2048; in test_mod_exp_x2()
277 BN_rand(a1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
278 BN_rand(b1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
279 BN_rand(m1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2()
280 BN_rand(a2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
281 BN_rand(b2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
282 BN_rand(m2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2()