Searched refs:wvalue (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/bn/ |
D | rsaz_exp.c | 87 int wvalue; in RSAZ_1024_mod_exp_avx2() local 229 wvalue = p_str[127] >> 3; in RSAZ_1024_mod_exp_avx2() 230 rsaz_1024_gather5_avx2(result,table_s,wvalue); in RSAZ_1024_mod_exp_avx2() 238 wvalue = *((unsigned short*)&p_str[index/8]); in RSAZ_1024_mod_exp_avx2() 239 wvalue = (wvalue>> (index%8)) & 31; in RSAZ_1024_mod_exp_avx2() 242 rsaz_1024_gather5_avx2(a_inv,table_s,wvalue); /* borrow a_inv */ in RSAZ_1024_mod_exp_avx2() 249 wvalue = p_str[0] & 15; in RSAZ_1024_mod_exp_avx2() 251 rsaz_1024_gather5_avx2(a_inv,table_s,wvalue); /* borrow a_inv */ in RSAZ_1024_mod_exp_avx2() 283 unsigned int wvalue; in RSAZ_512_mod_exp() local 304 wvalue = p_str[63]; in RSAZ_512_mod_exp() [all …]
|
D | exponentiation.c | 497 int wvalue; /* The 'value' of the window */ in mod_exp_recp() local 517 wvalue = 1; in mod_exp_recp() 524 wvalue <<= (i - wend); in mod_exp_recp() 525 wvalue |= 1; in mod_exp_recp() 542 if (!BN_mod_mul_reciprocal(r, r, val[wvalue >> 1], &recp, ctx)) { in mod_exp_recp() 706 int wvalue; /* The 'value' of the window */ in BN_mod_exp_mont() local 723 wvalue = 1; in BN_mod_exp_mont() 730 wvalue <<= (i - wend); in BN_mod_exp_mont() 731 wvalue |= 1; in BN_mod_exp_mont() 748 if (!BN_mod_mul_montgomery(r, r, val[wvalue >> 1], mont, ctx)) { in BN_mod_exp_mont() [all …]
|