Home
last modified time | relevance | path

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

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpgfpec_prod.c91 int wvalue; in gfec_point_prod() local
98 wvalue = *((Ipp16u*)&scalarA[(bit-1)/8]); in gfec_point_prod()
99 wvalue = (wvalue>> ((bit-1)%8)) & mask; in gfec_point_prod()
102 wvalue = 0; in gfec_point_prod()
103 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_prod()
107 wvalue = *((Ipp16u*)&scalarB[(bit-1)/8]); in gfec_point_prod()
108 wvalue = (wvalue>> ((bit-1)%8)) & mask; in gfec_point_prod()
111 wvalue = 0; in gfec_point_prod()
112 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_prod()
124 wvalue = *((Ipp16u*)&scalarA[(bit-1)/8]); in gfec_point_prod()
[all …]
Dpcpgfpec_mul.c85 int wvalue; in gfec_point_mul() local
92 wvalue = *((Ipp16u*)&pScalar8[(bit-1)/8]); in gfec_point_mul()
93 wvalue = (wvalue>> ((bit-1)%8)) & mask; in gfec_point_mul()
96 wvalue = 0; in gfec_point_mul()
97 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_mul()
107 wvalue = *((Ipp16u*)&pScalar8[(bit-1)/8]); in gfec_point_mul()
108 wvalue = (wvalue>> ((bit-1)%8)) & mask; in gfec_point_mul()
109 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_mul()
124 wvalue = *((Ipp16u*)&pScalar8[0]); in gfec_point_mul()
125 wvalue = (wvalue << 1) & mask; in gfec_point_mul()
[all …]
Dpcpgfpec_mulbase.c84 int wvalue = *((Ipp16u*)&pScalar8[0]); in gfec_base_point_mul() local
85 wvalue = (wvalue << 1) & mask; in gfec_base_point_mul()
87 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_base_point_mul()
97 wvalue = *((Ipp16u*)&pScalar8[(bit-1)/8]); in gfec_base_point_mul()
98 wvalue = (wvalue>> ((bit-1)%8)) & mask; in gfec_base_point_mul()
100 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_base_point_mul()
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64.c248 unsigned wvalue = p_str[(index - 1) / 8]; in ecp_nistz256_windowed_mul() local
249 wvalue = (wvalue >> ((index - 1) % 8)) & kMask; in ecp_nistz256_windowed_mul()
251 ecp_nistz256_select_w5(r, table, booth_recode_w5(wvalue) >> 1); in ecp_nistz256_windowed_mul()
257 wvalue = p_str[off] | p_str[off + 1] << 8; in ecp_nistz256_windowed_mul()
258 wvalue = (wvalue >> ((index - 1) % 8)) & kMask; in ecp_nistz256_windowed_mul()
260 wvalue = booth_recode_w5(wvalue); in ecp_nistz256_windowed_mul()
262 ecp_nistz256_select_w5(&h, table, wvalue >> 1); in ecp_nistz256_windowed_mul()
265 copy_conditional(h.Y, tmp, (wvalue & 1)); in ecp_nistz256_windowed_mul()
280 wvalue = p_str[0]; in ecp_nistz256_windowed_mul()
281 wvalue = (wvalue << 1) & kMask; in ecp_nistz256_windowed_mul()
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/
Dexponentiation.c503 int wvalue; // The 'value' of the window in mod_exp_recp() local
523 wvalue = 1; in mod_exp_recp()
530 wvalue <<= (i - wend); in mod_exp_recp()
531 wvalue |= 1; in mod_exp_recp()
548 if (!BN_mod_mul_reciprocal(r, r, val[wvalue >> 1], &recp, ctx)) { in mod_exp_recp()
672 int wvalue = 1; in BN_mod_exp_mont() local
676 wvalue <<= (i - wsize); in BN_mod_exp_mont()
677 wvalue |= 1; in BN_mod_exp_mont()
691 assert(wvalue & 1); in BN_mod_exp_mont()
692 assert(wvalue < (1 << window)); in BN_mod_exp_mont()
[all …]
Drsaz_exp.c192 int wvalue = p_str[127] >> 3; in RSAZ_1024_mod_exp_avx2() local
193 rsaz_1024_gather5_avx2(result, table_s, wvalue); in RSAZ_1024_mod_exp_avx2()
202 wvalue = wvalue_16; in RSAZ_1024_mod_exp_avx2()
203 wvalue = (wvalue >> (index % 8)) & 31; in RSAZ_1024_mod_exp_avx2()
206 rsaz_1024_gather5_avx2(a_inv, table_s, wvalue); // Borrow |a_inv|. in RSAZ_1024_mod_exp_avx2()
213 wvalue = p_str[0] & 15; in RSAZ_1024_mod_exp_avx2()
215 rsaz_1024_gather5_avx2(a_inv, table_s, wvalue); // Borrow |a_inv|. in RSAZ_1024_mod_exp_avx2()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c1424 wchar_t* wvalue; in BSTR_set() local
1426 wvalue = PyUnicode_AsUnicodeAndSize(value, &wsize); in BSTR_set()
1427 if (wvalue == NULL) in BSTR_set()
1433 bstr = SysAllocStringLen(wvalue, (unsigned)wsize); in BSTR_set()