Home
last modified time | relevance | path

Searched refs:wvalue (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64.c260 unsigned wvalue = p_str[(index - 1) / 8]; in ecp_nistz256_windowed_mul() local
261 wvalue = (wvalue >> ((index - 1) % 8)) & kMask; in ecp_nistz256_windowed_mul()
263 ecp_nistz256_select_w5(r, table, booth_recode_w5(wvalue) >> 1); in ecp_nistz256_windowed_mul()
269 wvalue = p_str[off] | p_str[off + 1] << 8; in ecp_nistz256_windowed_mul()
270 wvalue = (wvalue >> ((index - 1) % 8)) & kMask; in ecp_nistz256_windowed_mul()
272 wvalue = booth_recode_w5(wvalue); in ecp_nistz256_windowed_mul()
274 ecp_nistz256_select_w5(&h, table, wvalue >> 1); in ecp_nistz256_windowed_mul()
277 copy_conditional(h.Y, tmp, (wvalue & 1)); in ecp_nistz256_windowed_mul()
292 wvalue = p_str[0]; in ecp_nistz256_windowed_mul()
293 wvalue = (wvalue << 1) & kMask; in ecp_nistz256_windowed_mul()
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/
Dexponentiation.c522 int wvalue; // The 'value' of the window in mod_exp_recp() local
542 wvalue = 1; in mod_exp_recp()
549 wvalue <<= (i - wend); in mod_exp_recp()
550 wvalue |= 1; in mod_exp_recp()
567 if (!BN_mod_mul_reciprocal(r, r, val[wvalue >> 1], &recp, ctx)) { in mod_exp_recp()
688 int wvalue = 1; in BN_mod_exp_mont() local
692 wvalue <<= (i - wsize); in BN_mod_exp_mont()
693 wvalue |= 1; in BN_mod_exp_mont()
707 assert(wvalue & 1); in BN_mod_exp_mont()
708 assert(wvalue < (1 << window)); in BN_mod_exp_mont()
[all …]
Drsaz_exp.c78 int wvalue; in RSAZ_1024_mod_exp_avx2() local
221 wvalue = p_str[127] >> 3; in RSAZ_1024_mod_exp_avx2()
222 rsaz_1024_gather5_avx2(result,table_s,wvalue); in RSAZ_1024_mod_exp_avx2()
232 wvalue = wvalue_16; in RSAZ_1024_mod_exp_avx2()
233 wvalue = (wvalue>> (index%8)) & 31; in RSAZ_1024_mod_exp_avx2()
236 rsaz_1024_gather5_avx2(a_inv,table_s,wvalue); /* borrow a_inv */ in RSAZ_1024_mod_exp_avx2()
243 wvalue = p_str[0] & 15; in RSAZ_1024_mod_exp_avx2()
245 rsaz_1024_gather5_avx2(a_inv,table_s,wvalue); /* borrow a_inv */ in RSAZ_1024_mod_exp_avx2()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c1419 wchar_t* wvalue; in BSTR_set() local
1421 wvalue = PyUnicode_AsUnicodeAndSize(value, &wsize); in BSTR_set()
1422 if (wvalue == NULL) in BSTR_set()
1428 bstr = SysAllocStringLen(wvalue, (unsigned)wsize); in BSTR_set()