Lines Matching refs:w
1152 unsigned char w, const mbedtls_mpi *m ) in ecp_comb_fixed() argument
1161 for( j = 0; j < w; j++ ) in ecp_comb_fixed()
1193 unsigned char w, size_t d ) in ecp_precompute_comb() argument
1207 for( i = 1; i < ( 1U << ( w - 1 ) ); i <<= 1 ) in ecp_precompute_comb()
1224 for( i = 1; i < ( 1U << ( w - 1 ) ); i <<= 1 ) in ecp_precompute_comb()
1315 unsigned char w, m_is_odd, p_eq_g, pre_len, i; in ecp_mul_comb() local
1333 w = grp->nbits >= 384 ? 5 : 4; in ecp_mul_comb()
1344 w++; in ecp_mul_comb()
1353 if( w > MBEDTLS_ECP_WINDOW_SIZE ) in ecp_mul_comb()
1354 w = MBEDTLS_ECP_WINDOW_SIZE; in ecp_mul_comb()
1355 if( w >= grp->nbits ) in ecp_mul_comb()
1356 w = 2; in ecp_mul_comb()
1359 pre_len = 1U << ( w - 1 ); in ecp_mul_comb()
1360 d = ( grp->nbits + w - 1 ) / w; in ecp_mul_comb()
1377 MBEDTLS_MPI_CHK( ecp_precompute_comb( grp, T, P, w, d ) ); in ecp_mul_comb()
1398 ecp_comb_fixed( k, d, w, &M ); in ecp_mul_comb()